UNLIMITED

Linux Format

Running the Linux desktop on Android

Over the past couple of issues we’ve seen how Linux and Android get along. In the first part, we explored the ‘under the bonnet’ Linux that makes up the foundation of Android (LXF253). Then we installed Termux to set up a capable, if small, Linux shell environment. This enabled us to install some additional software, and offered a great selection of tools.

But this was still only a subset of what a real Linux distribution would provide. So in this article we’re going for the full monty: installing a fully featured Linux environment, complete with graphical desktop, onto your Android device.

As with Termux, one of the key technologies many of these systems employ is pRoot (https://proot-me. github.io ). In case you missed the previous instalment in this series, pRoot is an implementation of the chroot utility that’s popular in the desktop/server Linux world. But chroot requires root privileges, which aren’t available by default on Android. So pRoot provides most of the benefits of chroot by doing some clever directory binding.

Check the below

Unlike Termux, however, not all of these Linux-on-Android systems use BusyBox (https://busybox.net). The reason is because the whole purpose of these systems is to provide a ‘full’ installation, whereas BusyBox is designed to wrap up a number of common utilities into a single binary. Instead, these systems install a typical Linux bootstrap containing the full-strength versions of programs like ls, cp and mkdir.

There is one bit of additional technology for these systems that wasn’t required for , however. We’ll be installing a full-strength Linux distro, which brings with it the expectation of a GUI desktop. We will get one of these, but in order to do so we’ll need to make an important decision regarding the graphics system.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Apple Maps Works In Linux
In July, Apple announced that its Maps on the web feature was now in public beta. For the first time, it could be accessed from non-Apple devices. Initially, Windows users could access Maps using Edge, while Firefox support was added in August. This
Linux Format1 min read
Get Ready To Become A True Python Expert
Make Python work for you with tutorials on coding with Django, Flask, Pygame and even more useful third-party frameworks. ON SALE NOW■
Linux Format13 min read
Fyne Times Ahead
Developing software to run across Linux distros is bad enough, but Andrew Williams, CEO of Fyne Labs (https://fynelabs.com), is making software easier to run across operating systems, devices and the web. We sat down with him and chatted about Go, Ja

Related Books & Audiobooks