8

I am a newbie to Ubuntu and I want to install Anbox (GitHub).

I am having trouble installing Anbox the way given in the current tutorials.

6
  • 2
    Anbox doesn't even support Artful. There is no PPA for Bionic. I spent too much time trying to make it work on Ubuntu 18.04 but kernel module just didnt work. Your best bet is to rebuild from sources.. May 8, 2018 at 15:35
  • @karel because the snap package only contains an installer script of several kilobytes.. the actual anbox container's size is about 400MB and it's downloaded on the first launch from a PPA. Edit: I see that you already mentioned that in your answer May 9, 2018 at 2:22
  • Sorry, I am a newbie. How do I rebuild from source? May 9, 2018 at 7:15
  • you can follow the steps from the original github repo, the build fails midway for me although there are reports of successful builds on bionic in the issues section. @karel welcome May 9, 2018 at 16:36
  • Check also Waydroid, A container-based approach to boot a full Android system on a regular GNU/Linux system May 3, 2022 at 19:35

2 Answers 2

9

Anbox is now available for Bionic 18.04+:

Installation on Ubuntu 18.04:

sudo add-apt-repository ppa:morphis/anbox-support
sudo apt install -y anbox-modules-dkms
sudo modprobe ashmem_linux
sudo modprobe binder_linux
sudo snap install --devmode --beta anbox
1
  • for snap use command sudo apt-get install snapd Aug 2, 2018 at 13:07
3

There is now an official snap for Ubuntu 18.04 Bionic.

sudo snap install --devmode --beta anbox

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .