On this post I will show you how to run Linux on Android devices using Termux App. You can use a rootless or rooted device
Who is this post for?
This post is intended for those who want to learn ethical hacking for educational purposes, as well as for those programmers who want to carry a portable Linux terminal on their mobile device.
How to Install Linux on Android.
Well, this task is going go be easy, and You will install a Linux Terminal on your Android device ( Rootless) using only an app called Termux.
Termux is an Android terminal emulator and Linux environment application for rooted and rootless Android devices . Linux packages will be installed on your smartphone or tablet, and You will be able to your favorite framework for programming or ethical hacking purpose.
With Termux you can install packages that are created for distros like Ubuntu, Kali or others through APT..
One of the great advantages of using Termux is that it is free for any purpose. You can also make settings according to your needs.
Also, if you are one of those who use high-level languages to create software for different operating systems, then with Termux you will be free to install languages like Python, Ruby, Php and many more.
Installing Termux on Android.
You can download Termux by clicking on any of the links shown below.
Download Termux Apk 118Download Termux Apk 117
Download Termux Apk 116
Choose the version of Termux according to the characteristics of your Android device.
How to use Termux?.
You have already installed a linux terminal on your Android device, the next step is to update the Linux packages.
Update | Upgrade Termux Terminal.
To update the Android terminal packages you just have to execute the following commands. Remember that this step is very important to avoid compatibility and security failures of the libraries and framework that we will install.
pkg update
pkg upgrade
Installing new packages on Termux.
If You want to install a new framework of package on your Termux Terminal, you can use the command pkg install + name of package.
For example, I will install nmap on my Android Termux.
pkg install nmap
How to remove and uninstall termux packages.
If you have installed any unwanted packages, then use the rm -rf command followed by the package name to remove them from your Android device.
rm -rf Zphisher
Must-have packages on Termux.
,You already have your Linux terminal on Android, now I show you a list of the packages that you should install immediately on your Android device.
- Python
- Nmap
- Routersploit
- Advphishing
- Apache Http Server.
- Zphisher.
- Hydra.
- WpScan.
I have taught you How to run Linux on Android devices, I hope your search has been answered.