I’m trying to install Anbox. (anbox.io)
I first install snap
From https://snapcraft.io/docs/core/install-ubuntu, I learn to to the following command (in bold):
sudo apt install snapd
Terminal prints out the following (in preformatted text):
[sudo] password for me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gyp libjs-inherits libjs-node-uuid libjs-underscore libssl-dev libuv1
libuv1-dev zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
apparmor libapparmor-perl snap-confine squashfs-tools
Suggested packages:
apparmor-profiles apparmor-profiles-extra apparmor-docs apparmor-utils
The following NEW packages will be installed:
apparmor libapparmor-perl snap-confine snapd squashfs-tools
0 upgraded, 5 newly installed, 0 to remove and 35 not upgraded.
Need to get 9,371 kB of archives.
After this operation, 53.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
I type “Y” for yes.
Get:1 http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu xenial-updates/main amd64 libapparmor-perl amd64 2.10.95-0ubuntu2.6 [31.4 kB]
0% [1 libapparmor-perl 31.4 kB/31.4 kB 100%]
Get:2 http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu xenial-updates/main amd64 apparmor amd64 2.10.95-0ubuntu2.6 [450 kB]
Get:3 http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu xenial-updates/main amd64 snap-confine amd64 2.22.6 [39.0 kB]
Get:4 http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu xenial/main amd64 squashfs-tools amd64 1:4.3-3ubuntu2 [105 kB]
Get:5 http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu xenial-updates/main amd64 snapd amd64 2.22.6 [8,745 kB]
96% [5 snapd 8,745 kB/8,745 kB 100%]
http://anbox.io/#get-started gives the further steps:
snap install --classic anbox-installer
96% [5 snapd 8,745 kB/8,745 kB 100%]
Fetched 9,371 kB in 5min 9s (30.3 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapparmor-perl.
(Reading database ... 270217 files and directories currently installed.)
Preparing to unpack .../libapparmor-perl_2.10.95-0ubuntu2.6_amd64.deb ...
Unpacking libapparmor-perl (2.10.95-0ubuntu2.6) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../apparmor_2.10.95-0ubuntu2.6_amd64.deb ...
Unpacking apparmor (2.10.95-0ubuntu2.6) ...
Selecting previously unselected package snap-confine.
Preparing to unpack .../snap-confine_2.22.6_amd64.deb ...
Unpacking snap-confine (2.22.6) ...
Selecting previously unselected package squashfs-tools.
Preparing to unpack .../squashfs-tools_1%3a4.3-3ubuntu2_amd64.deb ...
Unpacking squashfs-tools (1:4.3-3ubuntu2) ...
Selecting previously unselected package snapd.
Preparing to unpack .../snapd_2.22.6_amd64.deb ...
Unpacking snapd (2.22.6) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libapparmor-perl (2.10.95-0ubuntu2.6) ...
Setting up apparmor (2.10.95-0ubuntu2.6) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
diff: /var/lib/apparmor/profiles/.apparmor.md5sums: No such file or directory
Setting up snap-confine (2.22.6) ...
Setting up squashfs-tools (1:4.3-3ubuntu2) ...
Setting up snapd (2.22.6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
sudo anbox-installer
Android in a Box - Installer
IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!
IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!
PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.
ERROR: Don't run the anbox-installer as root or via sudo. Simply
invoke it with your regular user. The script will use sudo
on its own when needed.
anbox-installer
anbox-installer: command not found
Why is the “anbox-installer” command not found?
UPDATE
In filemanager, I see a “snap” folder. When I double-click that, I see an “anbox-installer” folder. Inside “anbox-installer”, I see 3 things:
- A link named “current” that links to “10”;
- A folder named “common”;
- A folder named “10”.
There’s nothing in the three folders. (And I have “Show hidden files” enabled.)