Linux on Android – How To Install it?

Linux on Android.

Linux on AndoidAndroid is an Operating System based on the Linux Kernel, but you might want to install on your device a full Linux distribution in order to use your favourite Linux tools, and even run a graphical desktop environment.

There are different ways to install Linux on an Android device and you will find a few below,

Installation of Linux with the BusyBox app

You need to download the following apps:

After the download you should follow follwing steps:

1-Open Busybox app and install all the scripts and applets.

2- Now open Complete-Linux-Installer app, and tap on Install Linux Manually.

3-And you will see variety of Linux Distro’s that your mobile supports.Tap on any of them that you like to install.Once tapped you will be guided to download Linux image file.

4-When you had downloaded the zip file,it’s time to extract it from zip file to IMG file.

5-After extracting,Open the app Complete-Linux-installer and from there tap on Launch Linux.And you will get this,Choose the Linux name that you downloaded before and than tap on setting on the Top right corner and hit edit.


6-After taping on edit you will get this setting.Now name the Linux and on image section add the Img file that you extracted before.And hit save changes.

7-And now go back you will now get a new option Start Linux ,tap on it and automatically Android terminal emulator will this.

8-Now setup some setting resolution,password etc, and you will see Root@localhost this means you’re now running Linux in your device.

9-Now the final step open the Vnc viewer app and do the following:
Once you opened the app you will see a Plus+ sign at the bottom right side to create new connection.

10-After you created connection tap on connect and it will ask you for password.Type the password that you typed in on Android terminal Emulator.


Installation of KBox – a small Linux distro

KboxIn many cases, installing Linux on Android usually means that you root the Android system with the risk of breaking your Android device. If you don’t like this idea, then you might appreciate KBOX.

It is a miniature single-user Linux distribution which is integrated directly into a terminal emulator, and that can be installed on non-rooted Android devices.

KBOX is not available in the Google Play Store, so you have to download the APK package from the project’s website and install it manually. By the way, the author of KBOX provides not only the ready-to-use package but also some technical descriptions of KBOX’s inner workings.

KBOX comes with an assortment of BusyBox utilities (find, grep, tar, vi, etc.), an SSH server and client, and the scp tool. A handful of other packages are available as separate downloads, including vim and rsync. Rsync can act both as a client and server. Installing packages on KBOX is done using the dpkg tool. To install, for example, the rsync package, grab it from the project’s website and use the following command:

dpkg -i /sdcard/Download/rsync_3.0.8_kbox.deb

Obviously, KBOX is not a replacement for a full-blown Linux distribution, but it can be useful in certain situations. If you install rsync, for example, you can use this powerful and flexible tool to back up files on your Android device to a remote server, and thanks to the supplied SSH server, you can access your Android device via an SSH connection.


Installation of Linux with the Linux Deploy app

This open source app offers an easy way to install and run a supported Linux distribution in a chroot environment, which is basically a special directory that acts as a temporary root directory. Linux Deploy supports many popular distros, including Debian, Ubuntu, Arch Linux, Fedora, and openSUSE.

This app allows you to install any Linux distro, but you must root your Android device first. The exact rooting procedure depends on your particular Android device, and it can be tricky at times. However, plenty of rooting guides are available online to help you.

Before you proceed with installing Linux on Android using Linux Deploy, you need to install two additional apps on your device: a terminal emulator and a VNC client. There are several terminal emulator and VNC client apps in the Google Play Store, but you can’t go wrong with VX ConnectBot and MultiVNC. Both are capable open source apps available free of charge.

To install one of the supported Linux distributions using Linux Deploy, launch the app, and tap the Properties button. The Properties window contains a list of configurable options. Start by choosing the desired Linux distribution from the Distribution list in the Deploy section

By default, Linux Deploy uses a mirror based in Russia, but you can specify a mirror closer to you by editing the Mirror URL setting.

Pick the mirror closest to you and enter its URL as follows:

Linux Deploy can install Linux into an image file, a specific folder, or a separate partition, and you can choose the desired option in the Installation type list. In most cases, installing Linux as a single image file makes most sense, especially on devices that don’t support additional storage. If your Android device has an SD card slot, you can install Linux on a storage card or use just a partition on the card for that purpose.

Linux DeployYou can choose the desired installation option from the Installation type list. If needed, you can also use the appropriate options to change the default installation path, specify the desired image size, choose the filesystem, and change the default android username.

Linux Deploy lets you install a graphical desktop environment, too, and the app supports several popular graphical desktops, including LXDE, Xfce, Gnome, and KDE. To install a desktop environment, pick the desired desktop from the Desktop environment list and enable the Install GUI option.

The next stop is the Startup section. To start, make sure the SSH option is enabled; otherwise, you won’t be able to connect to the running Linux instance. If you chose to install a graphical desktop environment, you will have to enable the VNC option as well, so you can connect to the desktop using a VNC client app. Next, scroll down to the VNC section and configure the VNC settings, such as color depth and resolution as well as desktop dimensions.

Once you’re done tweaking settings and specifying options, you can tap the Install item and wait until Linux Deploy finishes the installation

When the installation operation is completed, you should see the following status message:

<<< end: install

Then, tap the Start button to boot the installed Linux distro. Note the IP address of the running Linux instance and launch the terminal emulator app

Establish an SSH connection to the running Linux instance using its IP address and the default android username (or the username you specified in the Properties window). When prompted, enter the default changeme password.

The first thing you might want to do is change the default passwords. Issue the passwd command to change the user password and run sudo passwd root to assign root password.

Accessing the graphical desktop environment is equally easy: Launch the VNC client app and connect to the running VNC server using the default changeme password

A Video on BusyBox


Convert an Android Device to Linux

Install Linux On Android With (Complete-linux-Installer)

Linux on Android

Be Sociable, Share!

Leave a Reply