Debian package for Anbox

2018/11 01 16:11

Debian package for Anbox

Packages are only built for Debian 9 (stretch) with amd64 architecture. If you want packages for other distribution or architecture, you can build them from source.

Package source(not the upstream source):

Disclaim

These packages are unofficial. If you want support from the Anbox developers, you should follow the official guide on anbox.io and use snappy to install Anbox.

Install

First install deb packages.

sudo wget -O /etc/apt/trusted.gpg.d/zhsj.gpg https://ftp.ustclug.org/~zsj/anbox/zhsj.gpg
echo "deb [arch=amd64] https://ftp.ustclug.org/~zsj/anbox stretch main" |sudo tee /etc/apt/sources.list.d/anbox.list
sudo apt update && sudo apt install anbox

Now you need to download the Android image.

sudo wget -O /var/lib/anbox/android.img https://build.anbox.io/android-images/2017/07/13/android_3_amd64.img

Start

There are two systemd services.

sudo systemctl start anbox-container-manager.service
systemctl --user start anbox-session-manager.service

Now you can start anbox application from your desktop.

If you want these services to start when booting, just

sudo systemctl enable anbox-container-manager.service
systemctl --user enable anbox-session-manager.service

For Ubuntu users

I have uploaded it to PPA, but I never test it. This PPA builds for {amd64, i386, armhf} on {xenial, zesty}.


Page update date: 2017-07-19

--转载请注明: http://91o.cc/debian-package-for-anbox/

作者 - 分类 未分类

发表回复

(必填)