Search results for

All search results
Best daily deals

Affiliate links on Android Authority may earn us a commission. Learn more.

How to install a Linux desktop on your Android device

Get even more from your Android device by running a Linux desktop!
By

Published onJanuary 22, 2024

Have you ever wished your Android phone or tablet could replace your entire computer? That’s now possible — you can install a Linux or Ubuntu desktop environment on virtually any modern Android device thanks to some clever workarounds. You don’t need to root your phone and you can even use a Bluetooth keyboard and mouse (and maybe an external display) for a powerful desktop-like experience. And even though the experience doesn’t match a real Linux computer, it’s more than usable in a pinch and worth trying out.

QUICK ANSWER

To install a Linux environment on your Android device, you can use the Debian NoRoot or UserLAnd apps. If you choose the latter, you'll also get to choose between various distributions like Kali Linux, Arch, and Ubuntu. While neither app installs a full operating system, they do offer a complete desktop environment and the ability to run many popular Linux programs.


JUMP TO KEY SECTIONS

Debian NoRoot: One-click Linux desktop

debian noroot android
Calvin Wankhede / Android Authority

Debian NoRoot offers one of the easiest and least complicated ways to access a Linux desktop on Android. It’s a free app that you need to install via the Play Store. If you haven’t heard of Debian, it’s the flavor of Linux that the popular Ubuntu distribution is based upon. This guarantees compatibility with a wide range of Linux apps and the apt package manager.

Debian NoRoot is pretty lightweight and should run on most Android smartphones and tablets. It’s not the complete Debian operating system — instead, its developer describes it as a “compatibility layer, which allows you to run Debian applications.” How is this possible? Well, Android runs a modified Linux kernel, making it somewhat related to our end-goal. Debian NoRoot also includes all of the basics, including a desktop environment and a terminal application. All in all, it’s a perfect starting point for experienced and novice users alike.

Debian NoRoot lets you access a full-fledged Linux desktop with a simple download from the Play Store.

Once you’ve installed the Debian NoRoot app on your Android device and open it for the first time, it will present you with a list of display resolutions and font scales. Select the default options here, and it will eventually bring you to the desktop.

From this point on, you can immediately get to installing additional Linux programs and apps. We’ll explain how you can do this via the terminal in a later section. For now, consider plugging in a keyboard and mouse since the on-screen touch keyboard can take up a big chunk of your screen’s real estate.

Related: What is a kernel and why does it matter on Android and Linux?


Install Ubuntu and other Linux flavors with UserLAnd

If Debian NoRoot doesn’t satisfy your needs or you’d like to install a different Linux distribution, another option is the UserLAnd application. It lets you install various Linux distros on your Android device, including Arch, Kali, Ubuntu, Debian, and Alpine. You can also choose to launch applications like Gimp and LibreOffice independently, eliminating the need for a full-blown desktop environment.

Here’s a step-by-step guide on how to install Ubuntu on your Android device:

  1. Download and install the UserLAnd app from the Play Store.
  2. Open the app and select the Linux distribution you wish to install. For the sake of this guide, we’ll proceed with Ubuntu.
  3. Enter a username, password, and VNC password of your choice when prompted. Don’t forget these details or you’ll have to start the process all over again.
  4. The app will now ask you to choose between an SSH or VNC connection. Select the latter if you need a graphical user interface.
  5. Wait until the download completes.
  6. Finally, you should be presented with a login screen, as shown below. Enter the VNC password from earlier to proceed.
userland vnc connect screenshot
Calvin Wankhede / Android Authority

You can also initiate a VNC connection from a different device on the same network. First, determine your Android device’s IP address, either from your router or using a free app like Fing. Finally, add :51 to the end of the IP address (example: 192.168.0.101:51) and connect to it using a VNC app like TightVNC on the other device.


Final steps: How to install Linux apps on your Android device

 

Now that you’ve got your preferred flavor of Linux installed on your Android phone, you may be wondering what you can and can’t do with it. Let’s start with the latter — you can only install and run programs designed for ARM-based processors. This rules out many apps like Steam, which only support the desktop x86 architecture. Still, most of the standard productivity-related programs you’d want — ranging from Firefox to LibreOffice — offer ARM versions these days.

Here’s how to install Linux apps on your Android device:

  1. Log into your Ubuntu session via one of the above methods.
  2. Open a terminal window.
  3. Enter the following commands one by one:sudo apt updateandsudo apt install firefox-esr.
  4. You can replace firefox-esr in the above command with any other desired program of your choice. Some other examples include vlc and libreoffice.
  5. Once installed, you can launch the program from within the Applications menu, as pictured below.
debian noroot app menu
Calvin Wankhede / Android Authority

Besides which Linux apps you can install, there are a couple of other limitations you should consider too. You cannot access low-level hardware functions like Wi-Fi or Bluetooth from within Linux because those are still completely controlled by Android. Likewise, you cannot expect hardware acceleration or complex 3D graphics to work at full speed. Remember that you aren’t running full-fledged Linux — it’s just a compatibility layer on top of the base Android operating system. You’ll be better off with a Chrome OS device if those aspects are important to you.


FAQs

Yes, it’s possible to run an Ubuntu environment on an Android device via an app like UserLAnd.

You cannot replace the Android OS on most smartphones with Linux. However, you can install apps to get a Linux-like desktop environment on top of Android.

You might like