Your path to becoming an Ethical Hacker! Hacking Academy Try It Now!

Install Kali Linux in Termux

Learn to install Kali Linux in Termux on Android with GUI. Watch troubleshooting video and follow step-by-step instructions for a successful setup.
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:

Install Kali Linux in Termux

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.

Post a Comment

Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.