Step 1: Installation of GNURoot from Play StoreThe first and foremost step is to install the free Android app GNURoot on your Android app. This application installs a fake Linux root file system. Just open the Play Store, search for GNURoot and install the main GNURoot app on your Android device.
Step 2: Select the helper app of a Linux distroBy default, GNURoot offers different ARM-based Linux distros: (Debian) Wheezy, Fedora, Aboriginal (a lightweight BusyBox variant) and Gentoo. Select any one of these and tap “Create New Rootfs” to download the needed files.
This process may take a while, so wait for few minutes.
Step 3: Select the Linux distro and launchAfter the download is finished, select that distro from the second drop down option. After ticking the “Launch as Fake Root” box to get the apt-get and other root commands, tap “Launch Rootfs” to install and use Linux on Android phone.
Step 4: It’s ready to useAfte the installation, you are ready to use Linux on Android phone. Now you should be able to install any package from your distro’s repo using the relevant package manager by apt-get for Wheezy or yum for Fedora.
You can create extra terminal windows by tapping on the ‘+’ button at the top and switch using the top-left drop-down menu.
To access the menu options for various settings, you can tap on the top-right icon and other options.
How to go graphical with Linux on Android phone?In the four main Linux distros available in GNURoot app, you’ll have to work using the command line. To run the programs needing windows, you’ll need a GUI. This can be implemented using GNURoot WheezyX distro (in the first step). It launches a VNC server, and to see the GUI you need to download VNC Viewer from the Play Store.
For the first time, after the WheezyX distro launches in a terminal window, fire up the VNC viewer app and enter ‘localhost:1’ as address and ‘password’ as the default password.
Doing this, a virtual desktop for a xterm terminal window for Wheezy will launch. Now using the mouse pointer and keyboard icon, you can navigate the Linux on Android.
Did you find this how to install Linux on Android phone tutorial helpful? Tell us in the comments below.