Anbox-Run Android apps in Linux

There are plethora amount of options available to run Android apps on different Operating Systems like macOS, Windows and Linux ofcourse, that is apk files in Windows as far as I know Bluestacks is the most widely used tool/platform out there. But somehow in the Tux world an alternative open source tool always emerges and it can be really 

First of all we need Snap packages which could be found on the official website, Snapcraft.io

Now coming back to Linux World let’s talk about Anbox, which is nothing but Android in a box, similar to containers, uses the LXC to separate Android from the host. So Let us get started now. 

Now install the package snapd

sudo apt update
sudo apt install snapd

Either restart your machine, or log out and in again, to complete the installation.

Install DKMS package from PPA

In order to add the PPA to your Ubuntu system.

$ sudo add-apt-repository ppa:morphis/anbox-support
$ sudo apt update
$ sudo apt install linux-headers-generic anbox-modules-dkms

These will add the PPA to your system and install the anbox-modules-dkms package which contains the ashmem and binder kernel modules. They will be automatically rebuild every time the kernel packages on your system update.

After you installed the anbox-modules-dkms package you have to manually load the kernel modules. The next time your system starts they will be automatically loaded.

sudo modprobe ashmem_linux
sudo modprobe binder_linux

Now you should have two new nodes in your systems /dev directory:

ls -1 /dev/{ashmem,binder}

After inputting the above command the below details must be seen as shown in the screenshot.


/dev/ashmem
/dev/binder

Install the Anbox snap

The second step will install the Anbox snap from the store and will give you everything you need to run the full Anbox experience.

Installing the Anbox snap is very simple:

$ snap install –devmode –beta anbox

Information about the currently available versions of the snap is available via:

$ snap info anbox

Uninstall Anbox


If you want to remove Anbox from your system you first have to remove the snap:

NOTE: By removing the snap you remove all data you stored within the snap from your system. There is no way to bring it back.

$ snap remove anbox


Once the snap is removed you have to remove the installed kernel modules as well:

$ sudo apt install ppa-purge
$ sudo ppa-purge ppa:morphis/anbox-support


Once done Anbox is removed from your system.

[via:-Anbox.io]

Akash Angle

I am a Full time Linux user who has quit using Windows for unknown reasons, making my life truly open source.

Recent Posts

Get the most juice from your ISP/router — setting MTU size & other handy tweaks

This is not an ad-vocation by any means for TP-link branding, however a real life…

7 months ago

How to make any Android phone up-to 3x faster – Developer options unleashed

First of all we need to hit the kernel version on any Android device. You…

7 months ago

systemd-resolve command not found in Ubuntu Desktop

Use resolvectl status instead. It's like something deprecates and suddenly things get broken! In systemd…

12 months ago

How to exclude multiple directories with rsync?

Geeky question: This is what people and friends have tried: rsync -arv --exclude "/home/john/.ccache:/home/ben/build" /home/john…

12 months ago

How to resolve apt-get -f not working

You might encounter this error which appears to be very common on Debian based Distro's…

12 months ago

How to install Broadcom STA wireless drivers on Kali Linux

PS: This article is for only Kali Linux users, that too having a Broadcom Wireless…

1 year ago