Introduction
In this tutorial we learn how to install anbox
on Kali Linux.
What is anbox
anbox is:
Anbox is a container-based approach to boot a full Android system on a
regular GNU/Linux system.
In other words: Anbox will let you run Android on your Linux system
without the slowness of virtualization.
Anbox uses Linux namespaces (user, pid, uts, net, mount, ipc) to run a
full Android system in a container and provide Android applications on any
GNU/Linux-based platform.
The Android inside the container has no direct access to any hardware. All
hardware access is going through the anbox daemon on the host. It reuses
what Android implemented within the QEMU-based emulator for OpenGL ES
accelerated rendering. The Android system inside the container uses
different pipes to communicate with the host system and sends all hardware
access commands through these.
This package needs Android kernel modules and rootfs image, see
/usr/share/doc/anbox/README.Debian for information.
There are three methods to install anbox
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install anbox Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install anbox
using apt-get
by running the following command:
sudo apt-get -y install anbox
Install anbox Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install anbox
using apt
by running the following command:
sudo apt -y install anbox
Install anbox Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install anbox
using aptitude
by running the following command:
sudo aptitude -y install anbox
How To Uninstall anbox on Kali Linux
To uninstall only the anbox
package we can use the following command:
sudo apt-get remove anbox
Uninstall anbox And Its Dependencies
To uninstall anbox
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove anbox
Remove anbox Configurations and Data
To remove anbox
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge anbox
Remove anbox configuration, data, and all of its dependencies
We can use the following command to remove anbox
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge anbox
Dependencies
anbox have the following dependencies:
References
Summary
In this tutorial we learn how to install anbox
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.