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.

Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117
Maaz Ahmad Khan
  • 131
  • 1
  • 1
  • 9
  • 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.. – Eskander Bejaoui May 08 '18 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](https://askubuntu.com/a/944245/810348) – Eskander Bejaoui May 09 '18 at 02:22
  • Sorry, I am a newbie. How do I rebuild from source? – Maaz Ahmad Khan May 09 '18 at 07:15
  • you can follow the steps [from the original github repo](https://github.com/anbox/anbox#build-from-source), the build fails midway for me although there are reports of successful builds on bionic in the issues section. @karel welcome – Eskander Bejaoui May 09 '18 at 16:36
  • Check also [Waydroid](https://docs.waydro.id/usage/install-on-desktops), _A container-based approach to boot a full Android system on a regular GNU/Linux system_ – Pablo Bianchi May 03 '22 at 19:35
  • @PabloBianchi Will it be possible to run playstore in linux using Waydroid? – Maaz Ahmad Khan May 29 '22 at 10:13

2 Answers2

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
Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117
cmak.fr
  • 8,411
  • 2
  • 29
  • 45
3

There is now an official snap for Ubuntu 18.04 Bionic.

sudo snap install --devmode --beta anbox
Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117