Ok, I know it's not supported fully on debian yet, but is there anyway to run anbox (anbox.io) on a debian installation. Since It runs on ubuntu, I assume it would be possible on debian.
4 Answers
On Debian Sid, there is a package for Anbox: https://packages.debian.org/sid/utils/anbox
The package sets everything up in the kernel (module binder_linux, ashmem), and sets up a systemd service (anbox-container-manager).
However, the package does not contain any android image expected in /var/lib/anbox/android.img, this image has to be taken from https://build.anbox.io/android-images/ or from an existing snap installation in /var/snap/anbox/android.img.
Once, the image is installed, run:
- as root:
service anbox-container-manager start - as normal user (in a first terminal):
anbox session-manager - as normal user (in a second terminal):
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
(There may be a refresh bug, move the cursor within the anbox graphical window)
See Debian documentation in /usr/share/doc/anbox/README.Debian
- 3,193
Use snapd. anbox is only available as snaps.
Install snapd :
sudo apt install snapd
and install (& run) anbox:
sudo snap install --classic anbox-installer && anbox-installer
- 26,651
- 76
- 1
- 2
Install snapd:
sudo apt install snapd
and install (& run) anbox:
sudo snap install --classic anbox-installer && anbox-installer
You may get an error (bash: anbox-installer: command not found) if you are on raspbian desktop like I was.
Once, snapd installed and configured, run the following command to install snap store app.
sudo snap install snap-store
- 600
I was allready done with the snapd install and setup. When I saw anbox in 'Sid'. For me, "snap install --classic anbox-installer"was the correct command. (Anbox.io instructions fail to mention --classic). Everything was okay but the DKMS modules didn't work.
I enabled 'sid' repositories and updated to the latest LTS kernel to get ashmem and binder. Now every time I want to run anbox I need to type "modprobe ashmem-linux" and "modprobe binder-linux", but that can be automated and I think it works for now.
But as a starting point for newcomers, I guess that anbox:amd64 in 'sid' is the best way.
Regards, Blackslide