How To Linux On Android

Have you ever thought of running Linux on your Android device? Yes, it’s possible! In this blog post, we will guide you on how to install and use Linux on your Android device.

Why Linux on Android?

Linux is a highly versatile operating system and getting it on your Android device opens a new world of possibilities. You can run Linux-based applications, write and run shell scripts, and even build your own server environment right within your mobile device.

How to Run Linux on Android:

Before we start, please note that running Linux on Android requires a device with root access. Proceed with caution as rooting can void your device’s warranty.

1. Root Your Android Device:

Having root access is the first step to use Linux on an Android device. Various applications can help you root your device, for example, KingRoot, SuperSU, etc. The rooting process varies depending on the device, so it’s recommended to follow a guide specific to your device model.

2. Install a Linux Terminal Emulator:

Once you have rooted your Android device, you need to install a Linux terminal emulator. One of the most popular is Termux. It’s a powerful terminal emulator with an extensive Linux package collection.

You can install Termux from the Google Play Store or F-Droid.

3. Install Linux:

After Termux is installed, you can now install Linux. Several apps allow you to do this. One popular option is AndroNix, which provides multiple Linux distributions that you can install with a single click.

Once AndroNix is installed, open the app, select your desired Linux distribution, click on install, and follow the provided instructions.

4. Access Linux:

Once the installation process is complete, you can access your Linux environment through Termux.

Open Termux and type the following command:


Replace “*” with the name of your installed Linux distribution. For instance, if you installed Ubuntu, the command will be:


After running the command, you will be in the Linux shell, ready to explore the world of Linux on your Android device.


Getting Linux on Android might sound complicated, but it’s straightforward once you get the hang of it. It’s a great way to learn Linux commands and run Linux applications right on your Android device. Happy exploring!

Please note that the steps above could potentially damage your device if not done properly. Proceed with caution and at your own risk.