Install linux on Android : GNUrootdebian
Working more with Linux is like going more deep into computers. Linux platform provides powerful tools for networking,server handling and development purposes. Read more about What is linux? and Linux Distributions
Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets
How many times have you been on the go and discovered that you needed to pull off some Linux-fu, but the only piece of tech you had was an Android device? Imagine if you were able to fire up a Linux command prompt on that device and make use of apt-get to install whatever command line tool you needed. Wget? No problem. Traceroute? Yes. Ssh? Absolutely. Just about any tool you can install on Linux, you can install linux on Android. Even some graphical apps will work (even though command line tools work best).
Before we get going, I should warn you that this isn't like installing a full-blown Linux distribution on Android. What you are effectively doing is installing a system that adds a Linux sub-system, which includes a lot of tools (including apt-get) and the ability to launch a minimal X Server. The developers managed to create a very handy system that isn't all that difficult to use and certainly has its place in an admin toolbox.
Fortunately, you do not need root to install GnuRoot. In this instance, the word "root" comes from the fact that this app actually installs a "fake" Linux root file system. With that in mind, the installation is as simple as any other. I've installed the Debian version of GNURoot.
Here's how:
Now, locate the launcher in your app drawer (or your home screen) and launch GNURoot.
You'll see two tabs (INSTALL/UPDATE and LAUNCH).
[caption id="attachment_331" align="aligncenter" width="624"] The GNURoot main window[/caption]
Before you do anything, you must first install the GNURoot Debian patches by tapping Install/Reinstall. This will open a new window (within GNURoot) and begin the process of installing the necessary components
[caption id="attachment_332" align="aligncenter" width="645"] Installing the latest patch for GNURoot.[/caption]
Next, you must tap Patch Installation (from the main window). This will install the necessary patches for you to run the X applications. Once that completes, go back to the main window and tap Install X Support. Upon completion of that, your GNURoot is ready to rock.
From the main screen, tap the LAUNCH tab. Here you'll find three buttons: Launch (will launch a command prompt window), Launch X (will launch a rudimentary X session), Reconnect to X (will reconnect to the X server).
[caption id="attachment_333" align="aligncenter" width="629"] The GNURoot Launch tab.[/caption]
Tap Launch, and you'll see a new bash prompt appear. This is where you can install applications from the command line.
In order to run X applications, you must go back to the main window and tap Launch X. Eventually, an xterm will open, where you can run X Windows apps (if you've successfully installed one).
[caption id="attachment_335" align="aligncenter" width="627"] A GNURoot X session.[/caption]
If you're looking for a way to run a necessary Linux application on your non-rooted Android device, GNURoot might be the easiest method. Once you have the hang of it, it's quite painless, and it just might help gain you a bit more admin-centric usefulness from that Android device that you otherwise may not have had.
Are there GNU/Linux tools you require to get your job done that can be run on an Android device? Let us know in the discussion thread below.
Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets
How many times have you been on the go and discovered that you needed to pull off some Linux-fu, but the only piece of tech you had was an Android device? Imagine if you were able to fire up a Linux command prompt on that device and make use of apt-get to install whatever command line tool you needed. Wget? No problem. Traceroute? Yes. Ssh? Absolutely. Just about any tool you can install on Linux, you can install linux on Android. Even some graphical apps will work (even though command line tools work best).
Before we get going, I should warn you that this isn't like installing a full-blown Linux distribution on Android. What you are effectively doing is installing a system that adds a Linux sub-system, which includes a lot of tools (including apt-get) and the ability to launch a minimal X Server. The developers managed to create a very handy system that isn't all that difficult to use and certainly has its place in an admin toolbox.
Gnurootdebian Installation
Fortunately, you do not need root to install GnuRoot. In this instance, the word "root" comes from the fact that this app actually installs a "fake" Linux root file system. With that in mind, the installation is as simple as any other. I've installed the Debian version of GNURoot.
Here's how:
- Open the Google Play Store on your Android device
- Search for gnuroot debian
- Locate and tap the instance by Corbin Champion
- Tap Install
- Read the permissions listing
- If the permissions listing is acceptable, tap Accept
- Allow the installation to complete
Now, locate the launcher in your app drawer (or your home screen) and launch GNURoot.
Usage
You'll see two tabs (INSTALL/UPDATE and LAUNCH).
[caption id="attachment_331" align="aligncenter" width="624"] The GNURoot main window[/caption]
Before you do anything, you must first install the GNURoot Debian patches by tapping Install/Reinstall. This will open a new window (within GNURoot) and begin the process of installing the necessary components
[caption id="attachment_332" align="aligncenter" width="645"] Installing the latest patch for GNURoot.[/caption]
Next, you must tap Patch Installation (from the main window). This will install the necessary patches for you to run the X applications. Once that completes, go back to the main window and tap Install X Support. Upon completion of that, your GNURoot is ready to rock.
Launching a window
From the main screen, tap the LAUNCH tab. Here you'll find three buttons: Launch (will launch a command prompt window), Launch X (will launch a rudimentary X session), Reconnect to X (will reconnect to the X server).
[caption id="attachment_333" align="aligncenter" width="629"] The GNURoot Launch tab.[/caption]
Tap Launch, and you'll see a new bash prompt appear. This is where you can install applications from the command line.
In order to run X applications, you must go back to the main window and tap Launch X. Eventually, an xterm will open, where you can run X Windows apps (if you've successfully installed one).
[caption id="attachment_335" align="aligncenter" width="627"] A GNURoot X session.[/caption]
If you're looking for a way to run a necessary Linux application on your non-rooted Android device, GNURoot might be the easiest method. Once you have the hang of it, it's quite painless, and it just might help gain you a bit more admin-centric usefulness from that Android device that you otherwise may not have had.
Are there GNU/Linux tools you require to get your job done that can be run on an Android device? Let us know in the discussion thread below.
Comments
Post a Comment