If you're reading this, you've probably used Linux before and know that it works on almost any piece of hardware. Meanwhile, you've got a phone in your pocket, and you know it's versatile. So can your Android phone run Linux?

Yes, it can. Here's what you need to know about running Linux on your Android smartphone or tablet.

Why Would You Install Linux on Your Android Device?

What is the point of installing Linux on your Android phone or tablet? Several reasons come to mind:

  • You may wish to run an app that isn't available on Android
  • You need a desktop environment
  • An old Android phone or tablet needs revitalizing

Current Android devices have ideal hardware for a PC-like experience, making them suitable for installing Linux.

Android is built upon the Linux kernel, a software stack that interfaces with the hardware of a device. It basically enables an operating system to communicate with the device—whether that's a PC, a smartphone, or other hardware.

Various Linux operating systems are available, such asArch Linux, Ubuntu, Gentoo, and many others. While Android uses the Linux kernel, it doesn't offer a desktop environment. This is what most people are thinking about when considering ways to install Linux for Android.

Of course, you may find that the tasks you want to perform on Linux also work in Android. The only hurdle holding you back might be simultaneous Android app multitasking. Fortunately, this is a feature that many modern Android devices support on the latest OS versions.

Running Linux running on an Android phone or tablet device isn't easy. If you're looking for improved multitasking, try upgrading to a recent version of Android instead.

Can My Phone or Tablet Run Linux?

Various options are available for running Linux on Android. Your choice is determined by whether your Android device is rooted or not.

In almost all cases, your phone, tablet, or even Android TV box can run a Linux desktop environment. You can also install a Linux command-line tool on Android. It doesn't matter if your phone is rooted (unlocked, the Android equivalent of jailbreaking) or not.

The following options to install Linux on your Android tablet or phone are available:

  • To install Linux on Android without root:
    • Debian Noroot
    • UserLAnd
    • Andronix
  • For installing Linux on a rooted Android device:
    • Use Linux Deploy
    • Install Kali Linux for penetration testing

Several other methods will give you a Linux (or desktop-like experience) on Android, which we’ll also look at.

How to Install Linux on Android Without Root

First, let’s look at the ways to install Linux on your Android phone or tablet without rooting the device.

How to Run Linux on Android With Debian Noroot

The best way to get Linux running on your phone with minimum fuss is with Debian Noroot. You need Android 4.1 or later to run this.

The benefit of Debian Noroot is that it will install Debian Buster on your phone with a compatibility layer. This allows you to run Debian apps without having to root Android. Given how difficult rooting can be for some devices, this can be one of the best Linux Android combos you'll get.

Performance with Debian Noroot is not great, but it's usable. For the best results installing Linux for Android, consider rooting your device first.

Download: Debian Noroot (Free)

Get Linux on Android With UserLAnd

An alternative to Debian Noroot, UserLAnd is an Android app from the Play Store that offers a choice of distros. In addition to Alpine, Arch, Debian, Kali, and Ubuntu, this tool lets you install apps.

You can install tools like GIMP, Firefox, and LibreOffice before you install Linux on Android. Simply run the app, agree to the permissions, and select a distro to install. There's a choice of viewing the installed Linux version over SSH (command line) or using a VNC app (for desktop).

It's surprisingly simple to set up and use. Thus, if you're looking for a solution for running Linux on Android, try this.

Download: UserLAnd (Free, in-app purchases available)

AndroNix Installs Linux on Android

Shipping with eight distros, this useful tool also offers modded versions of some Linux operating systems for improved performance. The distributions are:

  • Ubuntu
  • Debian
  • Manjaro
  • Fedora
  • Kali
  • Void
  • Alpine
  • Arch

Of these, Ubuntu XFCE, Debian XFCE, Ubuntu KDE, and Manjaro XFCE have modded versions available for Android devices with ARMv8 chipsets and later. These modded versions are optimized to run on Android. There is also the option to select which window manager (Awesome, Openbox, or i3) you wish to use.

To install a Linux operating system on Android with Andronix, simply tap the distro you want, then hit Install. You'll need to follow the steps to copy a command into a Termux terminal window, as well as choose a desktop environment.

The video above outlines the process in detail. Just be sure to have Termux, and a VNC viewing app (like VNC Viewer) installed. You'll need VNC to use your chosen Linux desktop.

Andronix is free but features a premium upgrade that removes ads and introduces additional (non-vital) features.

Download: Andronix (Free, in-app purchases available)

3 More Ways to Run Linux on Android Without Root

Samsung DeX

While we've covered a few good options to run Linux on your Android device, other methods are available:

  • DeX: If you own a modern Samsung device, you have the option of switching your hardware to desktop mode with DeX. While not exactly a Linux operating system, this is a desktop environment with a Linux kernel.
  • Remote Desktop to a system running Linux, using the app Splashtop.
  • Termux: This self-contained Linux environment based on the command line lets you run Linux apps on Android. Thus, it's literally Linux on Android!

They’re all worth trying!

How to Install Linux on Android With Root

For rooted users or anyone happy to take the time to root their Android device, installing Linux is simpler and faster.

How to Install Linux on a Rooted Android Device

If you have a rooted device, you can install various versions of Linux on Android using the Linux Deploy tool.

Follow these steps to install Linux on Android:

  1. Connect your phone to Wi-Fi
  2. Next, install BusyBox, which provides some enhanced root capabilities
  3. You can then install Linux Deploy
  4. On the first run, tap Start to ensure the root permissions are enabled
  5. Tap Settings in the bottom-right corner
  6. Select your preferred Distribution (Debian, Ubuntu, Gentoo, Fedora, and others are available)
  7. Check the Enable box under GUI to view a Linux desktop
  8. Open Graphics and select VNC
  9. Under GUI settings choose the Desktop environment you want
  10. Find the User name and User password fields and change to something memorable
  11. Exit the menu and tap the three dots in the upper-right corner
  12. Select Install, then OK

When this is done, install VNC Viewer from the Play Store. In Linux Deploy, tap Start to run Linux. Then open VNC Viewer and connect to localhost:5900 to view your Linux desktop with the credentials you entered earlier.

Once up and running, you can install Linux software using the terminal in the usual manner. Congratulations: you now have Linux running on Android!

How to Install Kali Linux on Android (Root Required)

The Linux Deploy method above for running Linux distros on Android is probably the best one you'll find. It provides a good choice of Linux versions, including Kali Linux.

Want to use your Android phone or tablet as a penetration testing device? While you'll find various useful Android networking tools, the best option is a portable version of Kali Linux. Simply follow the instructions above using Linux Deploy, and select Kali Linux to install on Android.

Once installed, you'll have a portable pen-testing solution in your pocket. This will check the safety of any network your phone connects to.

Alternatively, Install a Custom Android ROM

Not sure installing Linux on Android is such a good idea, but want more functionality from your phone? You could simply try a different version of Android.

If you're not sure where to start, read about how to install a custom ROM on Android.