How to install and run Anbox in Ubuntu 18.04?

34,584

Solution 1

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

Solution 2

There is now an official snap for Ubuntu 18.04 Bionic.

sudo snap install --devmode --beta anbox
Share:
34,584

Related videos on Youtube

Maaz Ahmad Khan
Author by

Maaz Ahmad Khan

Love simplicity, both in my life and in my code

Updated on September 18, 2022

Comments

  • Maaz Ahmad Khan
    Maaz Ahmad Khan almost 2 years

    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.

    • Eskander Bejaoui
      Eskander Bejaoui about 6 years
      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
      Eskander Bejaoui about 6 years
      @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
    • Maaz Ahmad Khan
      Maaz Ahmad Khan about 6 years
      Sorry, I am a newbie. How do I rebuild from source?
    • Eskander Bejaoui
      Eskander Bejaoui about 6 years
      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
    • Admin
      Admin about 2 years
      Check also Waydroid, A container-based approach to boot a full Android system on a regular GNU/Linux system
    • Admin
      Admin about 2 years
      @PabloBianchi Will it be possible to run playstore in linux using Waydroid?
  • Jasom Dotnet
    Jasom Dotnet almost 6 years
    for snap use command sudo apt-get install snapd