Hey everyone, if you're looking to install Kali Linux in Termux and want the
best guide to understand the process, you've come to the right place.
Today, I'll share a step-by-step tutorial on "Kali Linux install in Termux."
This article will help you learn how to use Kali Linux, the Kalimux tool in
Termux, and provide a detailed tutorial. I'm confident that you won't find
this unique information anywhere else on the internet.
Last week, I wrote a post on
how to install Kali Linux on your Android phone. However, many people faced issues because the installation required Android
phones with version 10 or higher. This post will help you install Kali Linux
even on Android versions lower than 10.
Install Kali Linux in Termux
Today, we're going to learn how to use Kali Linux on Android using a simple
script called Kalimux. This script allows you to install Kali Linux in the
Termux app with minimal requirements, and you can even use Kali Linux with a
graphical user interface (GUI), which looks really cool.
To install Kali Linux in Termux and use its GUI on your Android device,
you'll need two applications: Termux and VNC Viewer. After downloading both
apps, follow these steps:
Requirements to install Kali Linux in Termux
- Ensure your device's version is higher than 4.0.0.
- Make sure your device has at least 2 GB of storage available.
- Ensure your device has a good battery percentage (at least 90%) because the installation process takes time.
- You'll need at least 600 MB of internet pack, so check your data before starting the installation.
- Be patient throughout the installation process.
Installation Process:
1. Open the Termux app and enter the following commands:
apt-get update -y
apt-get upgrade -y
pkg install git -y
git clone https://github.com/noob-hackers/kalimux
cd kalimux
sh kalimux.sh
2. Wait for the installation to complete. After completion, a text file will
appear. Copy the text by holding it long.
3. Now, enter the following commands:
apt-get update
apt-get upgrade
4. Paste the copied text into the terminal. Long-click on the screen and
select "Paste." Then, the VNC host installation will start, which may
take around 30 minutes.
5. After the installation completes, enter the following command in the
terminal
./start-kali.sh
If you encounter difficulties during the process of installing Kali Linux in Termux, you can watch the video below for guidance. However, please note that the video does not cover enabling the graphical user interface (GUI). To enable the GUI, continue reading the instructions below the video.
Enabling graphical user interface (GUI)
To start vnc server that enables graphical user interface (GUI), enter the
following command in the terminal (not in the default Termux terminal):
vncserver-start
The server will ask for a password. Enter a password and verify it. Note
that the password area may appear blank even after typing.
Now, to access Kali Linux on your Android device:
1. Open the VNC Viewer app.
2. Click on the (+) icon and paste the IP address from your screen (e.g.,
127.0.0.1:5091).
3. In the "Name" field, give any name you like.
4. Enter the password you set earlier and click on "Connect."
Note: Ensure that the Termux app is running in the background. If not, start
the server first in Termux before opening VNC Viewer and clicking on
"Connect."
To exit from VNC Viewer:
Click on the (x) icon to disconnect from the VNC server.
To stop the VNC server:
1. Open Termux and enter the following commands:
vncserver-stop
Remember, whenever you want to use Kali Linux, you need to follow these
steps.