Kali Linux Tutorial MK007  

How to Run Android Apps in Kali Linux

In Software era, lots of software are introduced for Linux. Linux also have all the facilities compared to windows. But some geeky nerds are want to run android apps in Linux.  Linux doesn’t have any special options for using android apps. So, I use AnBox for running android apps in Linux.

So, this post was prepared for guide you how to install AnBox and How to run android apps in Kali Linux.

AnBox:

Anbox is a free and open-source compatibility layer that aims to allow mobile applications and mobile games developed for Android to run on Linux distributions. Canonical introduced Anbox Cloud, for running Android applications in a cloud environment.

The steps followed in this post is same to all other Linux distributions.

Steps:

  • Install Prerequisites
  • Setup Environment
  • Install Snapd (Snap Store)
  • Install AnBox

Install Prerequisites:

Before installing AnBox, you need to install the common software prerequisites of your Linux distro.

In terminal, run the following command.

mk007@linuxlia:~$ sudo apt-get install software-properties-common

Setup Environment:

First of all you need to create two loadable kernel modules, for running AnBox in Linux.

Run the following command for creating kernel module.

mk007@linuxlia:~$ sudo modprobe ashmem_linux
mk007@linuxlia:~$ sudo modprobe binder_linux

Alright, successfully you created a kernel modules. Check it created or not.

mk007@linuxlia:~$ ls -1 /dev/{ashmem,binder}

Install Snapd:

Snapd is also known as Snappy. It is a software packaging and deployment system developed by Canonical for the operating systems that use the Linux kernel.

Snap Store:

Snap store is a graphical desktop application for discovering, installing and managing snaps on Linux.

In terminal, run the following command for installing snapd.

mk007@linuxlia:~$ sudo apt-get update
mk007@linuxlia:~$ sudo apt-get install snapd
mk007@linuxlia:~$ sudo systemctl enable --now snapd apparmor

If you want to use WhatsApp in Linux >>> Install WhatsApp

Install AnBox:

Now install Anbox using snapd.

Open a terminal and run the following command for installing AnBox.

mk007@linuxlia:~$ sudo --devmode --beta anbox

Finally, AnBox was successfully installed.

Update AnBox:

If you want to update AnBox, then use the following command.

mk007@linuxlia:~$ sudo snap refresh --beta --devmode anbox

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Leave A Comment