You can use Anbox.
Here is the full description of the debian package
Android in a box
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.
Anbox can be installed through snap
or apt
.
Using snap
: see Install the Anbox snap.
On Ubuntu versions prior to Focal, you need to install and load the kernel module before executing the snap
command:
sudo add-apt-repository ppa:morphis/anbox-support
sudo apt update
sudo apt install anbox-modules-dkms
sudo modprobe ashmem_linux
sudo modprobe binder_linux
On Ubuntu Focal, Hirsute, Impish and Jammy, Anbox can be installed through apt
:
sudo add-apt-repository multiverse
sudo apt update
sudo apt install anbox