How to install Anbox on Ubuntu 20.04 LTS focal fossa (2024)

Do you want to run an Android app on Linux operating systems such as Ubuntu running on a PC or laptop? Then Anbox could be an option. Well, Google has millions of apps, however, when it comes to running them on PC, Windows has quite a good number of applications such as Bluestack, NoxPlayer, and more. But what about Linux users, none of these emulators are available for Linux, thus, in such a scenario “Anbox” (Android in a box) is trying to close that gap. It allows Android apps to run under Linux as if they were normal desktop apps.

On the Page hide

What is Anbox? Is it an emulator like Qemu?

Anbox installation on Ubuntu 20.04 LTS for running Android Apps

Open the Command terminal and run the update command

Install Anbox using SNAP- Recommend a method

Launch or Run Anbox on Linux

Install Google ADB Tool

How to install Google Play Store on Anbox

Install Android Apps on Anbox

What is Anbox? Is it an emulator like Qemu?

Anbox is an open-source application that creates a secure and tight container for the Android operating system to run without any direct access to host computer hardware. All hardware access takes place via the Anbox daemon, which runs in the background, provides all necessary services, and organizes hardware access. It provides a compatibility layer and uses the Linux distribution system’s kernel to provide a virtualized environment instead of software emulation like Qemu and other emulator tools Genimobile or Shashlik do and typically have disadvantages in terms of speed due to the emulation. If you have ever used Docker then you are already familiar with the isolated container and images of the different operating systems running on it.

On the Anbox the network can be used, but not GPS or camera, etc. However, the sound output can be used by some apps, yet, by far not all apps can be used. Therefore, a complete Android system can be operated on a Linux PC in a container. Anbox uses the defined Linux namespaces (identifiers for resources such as IPC, mount, net, PID, user, and uts) to run Android applications on every GNU / Linux-based platform.

Note: Although we successfully performed this guide on our system, there is no guarantee that Apps will work after the installation.

Anbox installation on Ubuntu 20.04 LTS for running Android Apps

The best thing to install Anbox on Ubuntu 20.04 LTS, 19.04/18.04 LTS, we don’t need to add any third-party repository or the PPA repo; as the packages, we need to configure Anbox are already available on the official source list of Ubuntu, thus either using the APT package Manager or SNAP, we set this up on our Linux PC or Laptop.

Open the Command terminal and run the update command

The first thing, although it is not compulsory, however, I recommend running the update command before moving further. For that simply use:

sudo apt update

This will ensure all the packages on the system are in their latest state.

Run the command to install Anbox on Ubuntu 20.04 Linux

If you are on your Ubuntu, Linux Mint, Elementary OS, MXLinux or Debian simply run the APT command to get the packages of this Android application runner -Anbox for your Linux system. However, we recommend theSNAP method because installing with APT you may find one problem the Anbox will automaticity get closed after starting.

sudo apt install anbox

Output:

The following packages were automatically installed and are no longer required:libfprint-2-tod1 libllvm9Use 'sudo apt autoremove' to remove them.The following additional packages will be installed:bridge-utils libboost-log1.71.0 libboost-program-options1.71.0libboost-regex1.71.0 liblxc-common liblxc1 libpam-cgfs libprotobuf-lite17libsdl2-image-2.0-0 lxc lxc-utils lxcfs uidmapSuggested packages:ifupdown btrfs-tools lvm2 lxc-templates lxctlThe following NEW packages will be installed:anbox bridge-utils libboost-log1.71.0 libboost-program-options1.71.0libboost-regex1.71.0 liblxc-common liblxc1 libpam-cgfs libprotobuf-lite17libsdl2-image-2.0-0 lxc lxc-utils lxcfs uidmap0 upgraded, 14 newly installed, 0 to remove and 7 not upgraded.Need to get 3,573 kB of archives.After this operation, 17.4 MB of additional disk space will be used.Do you want to continue? [Y/n] Y

Install Anbox using SNAP- Recommend a method

If you already used the above method and everything is working fine then skip this one, however, those are on Ubuntu or any other Linux distros such as CentOS, Fedora, and RHEL, they can also use the SNAP package manager, as it supports cross platforms.

sudo snap install --devmode --beta anbox

If you don’t have a snap on your system then see this tutorial: Snap install on Linux.

Launch or Run Anbox on Linux

Once the installation is completed, go to “Show Applications” of the Ubuntu 20.04, 19.04, 18.04, or the version you are using. And search for Anbox, as you see its icon, and click on the icon to run it.

Install Google ADB Tool

Anbox alone cannot be used to install Android apps as there is no Google Play available with in the software. Thus, to install any third-party APK file, we need to configure the Android Debug Bridge (ADB). This will help us to manually install and push Android apps to Anbox.

sudo apt install android-tools-adb

How to install Google Play Store on Anbox

Now, this is something I got after quite a research and multiple time hits & try to install somehow the Google Play store on an Anbox Android OS container.

Well, I won’t be able to use ARM-based apps on Anbox because it doesn’t support that, and when I tried it through an error:

Failed to install PACKAGE.NAME.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

Hence, there is a German developer who has created a script available on GitHub to install Play Store and libhuodini library for ARM support.

You can check that using the GitHub given above, however, here I am using it script to install the Google Play store on Anbox:

sudo apt install wget curl lzip tar unzip squashfs-tools
wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh
chmod +x install-playstore.sh
./install-playstore.sh
anbox.appmgr

In case after installing the Play Store on Anbox you won’t be able to connect internet for setting up a Google account to install various Android apps use the command:

sudo /snap/anbox/current/bin/anbox-bridge.sh start

Install Android Apps on Anbox

Once you are done with all this, open the Anbox and the command terminal as well. If you want to install APK manually using the Terminal type the following commands:

To find the attached emulator devices run the below command, this recognizes the running Anbox.

adb devices

Download the APK file of the app you want to install from various online websites such as APK Mirror and all. After that use that APK with the ADB installs command syntax:

adb install apk-file-name

Like we have installed here Lemmings Puzzle APK as shown in the screenshot.

From the Google Play store simply open it, log in, and click on the Install button.

How to install Anbox on Ubuntu 20.04 LTS focal fossa (2024)
Top Articles
Does O'Reilly Auto Parts Install Car Batteries for Free?
Emily Compagno Age, Relationship, Net Worth, Husband, Wiki
Asist Liberty
Fredatmcd.read.inkling.com
craigslist: kenosha-racine jobs, apartments, for sale, services, community, and events
80 For Brady Showtimes Near Marcus Point Cinema
Did 9Anime Rebrand
Caroline Cps.powerschool.com
Mlifeinsider Okta
Otr Cross Reference
Lesson 2 Homework 4.1
Wnem Radar
UEQ - User Experience Questionnaire: UX Testing schnell und einfach
Craigslist Mpls Cars And Trucks
Craigslist Blackshear Ga
Jang Urdu Today
ELT Concourse Delta: preparing for Module Two
The Blind Showtimes Near Amc Merchants Crossing 16
Finalize Teams Yahoo Fantasy Football
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
The EyeDoctors Optometrists, 1835 NW Topeka Blvd, Topeka, KS 66608, US - MapQuest
Mj Nails Derby Ct
Craigslist Houses For Rent In Milan Tennessee
Regal Amc Near Me
Powerschool Mcvsd
Telegram Voyeur
2023 Ford Bronco Raptor for sale - Dallas, TX - craigslist
Ocala Craigslist Com
Ugly Daughter From Grown Ups
How To Make Infinity On Calculator
Nextdoor Myvidster
Tyler Sis 360 Boonville Mo
Movies123.Pick
1-800-308-1977
Why The Boogeyman Is Rated PG-13
Craigslist Georgia Homes For Sale By Owner
Streameast.xy2
Wisconsin Women's Volleyball Team Leaked Pictures
Wo ein Pfand ist, ist auch Einweg
What Is Kik and Why Do Teenagers Love It?
A Comprehensive 360 Training Review (2021) — How Good Is It?
Differential Diagnosis
Nu Carnival Scenes
Paperlessemployee/Dollartree
The Pretty Kitty Tanglewood
Hampton Inn Corbin Ky Bed Bugs
Joe Bartosik Ms
Read Love in Orbit - Chapter 2 - Page 974 | MangaBuddy
Factorio Green Circuit Setup
Latest Posts
Article information

Author: Kelle Weber

Last Updated:

Views: 5850

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Kelle Weber

Birthday: 2000-08-05

Address: 6796 Juan Square, Markfort, MN 58988

Phone: +8215934114615

Job: Hospitality Director

Hobby: tabletop games, Foreign language learning, Leather crafting, Horseback riding, Swimming, Knapping, Handball

Introduction: My name is Kelle Weber, I am a magnificent, enchanting, fair, joyous, light, determined, joyous person who loves writing and wants to share my knowledge and understanding with you.