APC Australia

pRoot and Linux Distributi­ons

-

You’ll notice that the solutions in this article, as well as Termux, rely on pRoot to host the Linux distributi­ons that run on Android.

It may make it seem like pRoot itself is an Android utility, but it isn’t. It’s a general userspace implementa­tion of chroot.

What this means is that you can use pRoot to install ‘jailed’ Linux distributi­ons on any compatible host OS. You can most likely install it from your distro’s repositori­es ( sudo apt install proot will work on Ubuntu), or download it from the project’s website https://proot-me.github.io. Once it’s installed, you’ll need to find a compatible root filesystem for the pRoot. The Downloads section of the site has some places where you can download these, while the Examples section shows some common command options.

This would allow normal (non-root) users to try out some alternativ­e distributi­ons within their own home directory. Another neat trick is to use it to test out applicatio­ns for other CPU architectu­res. Finally, while most ‘jailed’ or ‘containeri­sed’ apps operate only within their own space, pRoot offers bind support.

This would allow you to grant access to files outside the ‘jail’ to the pRoot’s OS.

Newspapers in English

Newspapers from Australia