Linux Deploy
Easy and quick way to in stall Linux on a phone. Without extended knowledge of chroot.
(A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children)
Getting the benefits of most of Linux regular software.
You can compile it yourself or:
https://github.com/meefik/linuxdeploy/releases
and off course its in googleplaystore
Start up
- Normal phone app layout. With a start stop arrow down in a box and 4 points right.
- Start - Will start up the container
- Stop - Will probably stop it...
- Arrow down into a box(or what is) - are you're settings for the installation. Some important are listed in next topic.
- 4 points - menu with some important stuff.(will come back to that later)
Settings for the installation
Location
When its installed you can simply install debian. Since the developer of it wants money for the others.
Since he uses a special script to easily wipe the installation and replace it with a new installation of Linux.
I myself use a spare SDcard and set the destination for the installation on the SDcard. (if you are more advanced in this its possible to use that same installation in a raspberry pi ).
The option is there also to install it in a directory(you don't need a partition for it) were you can see all files or somewhere as a .img file. I don't see benefit in the ,img except when you want to move it a lot.
SSH
If the installation runs its possible to SSH in it. My choose for terminal if you don't have a favorite one is Termux.
https://termux.com/ but my preference may be different of yours. benefit of Termux it comes with some basic Linux commands. Where you normally would have to install busybox for http://forum.xda-developers.com/showthread.php?t=1929852.
and you're set to go and use only command line programs.
GUI
Here you got the option for VNC, X11 or Framebuffer.
VNC is is nice but really lack stuff like a righter mouse click feature. Its really just visual feeling Linux.(i don't like it)
The easier way is starting X11 and connect with application like XServer XSDL.
https://github.com/pelya/xserver-xsdl can be compiled from here or install from Google play store.
You can pick from Linux deploy any GUI you want, the maker has just a few but you can pick anything. Only thing is you need to ssh in you own installation to configure it correctly.
Those 4 points icon
Only going trough the 2 of them. Its all pretty basic stuff the titles in the menu say what it will do but these 2 are needed:
Install
If you set everything correctly hit this button and it will install the you're Linux version.
This might take some time. It will always install/reinstall place its in from zero.
Configure
This is the easy thing of Linux Deploy if you need to make some small changes in the options you can use this button to make the configuration to work.
Summery
Its not the most technical way to do this, but its one of the most easier ways to make it work.
this link has some more fast options: https://wiki.debian.org/ChrootOnAndroid
Its also possible to do everything manually without things like linuxdeploy.
But not gonna type that out, its really easy if you want it to do and you know how Linux works and this is more for those we want it quick.
Hope it helps and give some help to enrich you're virtual life on you're UNIX(for some better know as android) mobile device.
I myself have Cynagonmod on all my devices except one that has a nasty bootlock. Don't have it broken yet since there is a chance i will get locked out forever. ( already happened)
Also install Fdroid.
https://f-droid.org/
Its good for you!
Signing off now,
The_Cable