
Definisi
Anbox is a free and open-source compatibility layer that aims to allow mobile applications and mobile games developed for Android to run on GNU/Linux distributions.[2] Canonical introduced Anbox Cloud, for running Android applications in a cloud environment. (Sumber: https://en.wikipedia.org/wiki/Anbox)
Tahap Instalasi
- Install necessary kernel modules
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
In case add-apt-repository is missing, install it via:
$ sudo apt install software-properties-common
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}
/dev/ashmem
/dev/binder
2. Install the Anbox snap
$ 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
Catatan
Sesaat setelah Anbox terinstal, maka untuk bisa instal aplikasi Android bisa menggunakan perintah ini di terminial:
adb install my-app.apk
Uninstal Anbox
$ snap remove anbox $ sudo apt install ppa-purge $ sudo ppa-purge ppa:morphis/anbox-support
Sumber: https://anbox.io/ https://github.com/anbox/anbox-modules
Cara Mudah Install Google Play Store dan Mengaktifkan Dukungan ARM di Anbox
Pertama, install dependensi yang diperlukan terlebih dahulu:
sudo apt install wget lzip unzip squashfs-tools
Selanjutnya adalah install Google Play Store dan dukungan ARM menggunakan script auto installer.
wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh chmod +x install-playstore.sh sudo ./install-playstore.sh
Selanjutnya restart anbox-bridge
sudo /snap/anbox/current/bin/anbox-bridge.sh restart
Sumber: https://www.linuxsec.org/2018/08/cara-mudah-install-google-play-store.html
