Вы находитесь на странице: 1из 2

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

If you didn’t logged into the Ubuntu Store yet, the snap command will ask you to use sudo snap …
in order to install the snap:
$ sudo snap install --devmode --beta anbox

At the moment we require the use of –devmode as the Anbox snap is not yet fully confined. Work
has started with the upstream snapd project to get support for full confinement.
As a side effect of using –devmode the snap will not automatically update. In order to update to a
newer version you can run:
$ snap refresh --beta --devmode anbox

Information about the currently available versions of the snap is available via:
$ snap info anbox

Install with DKMS

In order to support the mandatory kernel subsystems ashmem and binder for the Android container
you have to install two DKMS based kernel modules. The source for the kernel modules is
maintained by the Anbox project here.
At the moment we only have packages prepared for Ubuntu in a PPA on Launchpad. If you want to
help to get the packages in your favorite distribution please come and talk to us or submit a PR with
the distribution specific packaging.

Install DKMS package from PPA


In order to add the PPA to your Ubuntu system please run the following commands:
$ 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.
Note
Please install the corresponding header package for your running kernel, if you’re not using the
default one.
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}
/dev/ashmem
/dev/binder

Instalar aplicativos
$ cd /home/Downloads/apk

$ ls # ver aplicativos

$ adb install (nome do alicativo)

dar enter se der sucesso ok,


Obs.: nos nomes dos aplicativos não pode conter espaços, caso haja corrigir.

remover aplicativos

usar as próprias configurações do anbox, apps, remover

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

Вам также может понравиться