Software & Apps Linux 28 28 people found this article helpful How to Run Linux on Android Devices Access the Linux kernel on your Android smartphone or tablet By Jack Wallen Writer Jack Wallen is a former Lifewire writer, an award-winning writer for TechRepublic and Linux.com, and the voice of The Android Expert. our editorial process LinkedIn Jack Wallen Updated March 16, 2020 Linux Switching from Windows Tweet Share Email Did you know that Android devices are powered by a modified Linux kernel? While the kernel is restrictive, it is possible to run Linux on Android phones and tablets. The information below should apply no matter who made your Android phone: Samsung, Google, Huawei, Xiaomi, etc. Can You Run Linux on Android? With apps like UserLAnd, anyone can install a full Linux distribution on an Android device. You don't need to root the device, so there's no risk of bricking the phone or voiding the warranty. With the UserLAnd app, you can install Arch Linux, Debian, Kali Linux, and Ubuntu on a device. The program installs an additional layer on the device that runs the chosen version of Linux, allowing you to connect to a Linux session using SSH or VNC with the assistance of the bVNC app. The Linux desktop doesn't always scale correctly. You may need to move the screen around while working in windows. How to Install Linux on Android To run Ubuntu on an Android device with UserLAnd: Download and install UserLAnd from the Google Play Store. Launch the UserLAnd app, then tap Ubuntu. Tap OK, then tap Allow to grant the necessary app permissions. Enter a Username, Password, and VNC Password for the Ubuntu session, then tap Continue. Select VNC, then tap Continue. At this point, UserLAnd downloads the necessary assets for the Ubuntu session. Depending on the speed of your connection, this can take a while. You are redirected to the Google Play Store, where you can download bVNC (if you haven't done so). Tap Install, then tap the Back button on your device to return to UserLAnd. If asked to grant bVNC access to your Android files, tap Allow. Tap Sessions at the bottom of the screen, then tap the plus sign (+) in the upper-right corner. If you see an option for ubuntu listed, tap it to begin your Linux session. Name the session ubuntu, select apps:Ubuntu from the Filesystem drop-down menu, then select SSH for the Service Type. Tap Save (the icon in the upper-right corner) when you're done. Tap Sessions, then tap ubuntu to launch your Linux session. How to Use Linux on Android The Ubuntu session opens to a desktop environment, where you can zoom in with your fingers. From here, you can open applications by tapping the start menu in the lower-left corner. To install new Linux programs using the command terminal, tap System Tools > LXTerminal. To close the desktop and return to Android, tap anywhere on the screen, tap the three vertical dots that appear, then tap Disconnect. Pros and Cons of Running Linux on Android Linux is more flexible than Android. There are many tasks you can undertake with Linux that you can't on Android, including app development, advanced image editing, and working in a real desktop environment. That said, the small form factor of smartphones makes it difficult to pack an entire desktop GUI into a small screen. You have to use your finger to move the mouse cursor, and you won't be able to use your phone app while the Linux desktop is running. Why Hasn't Linux Been Officially Ported to a Mobile Device? In 2013, Canonical developed a mobile device that ran a special version of Ubuntu called Ubuntu Touch. It was a commercial flop, so the device was discontinued. No other companies have attempted to release a Linux phone due to the challenges of the GUI. The desktop would have to be completely reimagined to function on a small screen.