How to Install Kali Linux on Termux 2022

Many have misunderstood how to install kali linux on termux without root. Kali Linux is supposed to be installed on a non-rooted android, the function of this tool is to get root access without having to root. Another term is fake root.

There are many ways to install kali linux on android without root via termux. One of the easiest is to use the help of the Anlinux application, we just need to copy and paste the command in termux.

In addition to installing kali linux on termux, to run the root script we can also install fakeroot or Proot. Ever heard of termux su, tsu or sudo? well, kali linux can run it all.

Kalilinux can also be used to install tools that cannot be run from termux. So there are many advantages that we can get after installing kali linux in termux.

For the guide, you can follow the tutorial below.

How to Install Kali Linux on Termux via Anlinux

Anlinux is an application that you can download for free on the Playstore. In it there are commands install kali linux, arch linux, ubuntu and other popular OS.

Almost forget! for those who can’t run termux, please learn how to use termux. This is just a basic guide, so you don’t get confused when you follow this tutorial.

What we will do is copy the command from anlinux and run it in the termux application.

Here are the steps:

1. Install the required package for kali linux in termux

Kali linux is also like a termux tool in general, it requires several packages to be installed to support it.

Please just install all the packages that I wrote below:

apt update && apt upgrade
pkg install root-repo
pkg install unstable-repo
pkg install x11-repo
pkg install curl
pkg install wget
pkg install git

Pay attention when entering the termux command, press enter every time you finish writing 1 command line and there should be no use of uppercase letters.

After everything is entered, then we will take additional commands in the Anlinux application.

2. Copy the command to install kali linux in the Anlinux application

Open the anlinux application that was downloaded earlier. If not, please download here.

On the Anlinux start page in step 1 press the choose button. Then a choice of what OS to install will appear. Just tick kali linux and hit OK.

Then you just press the copy button. Automatically the commands listed in the anlinux application have all been copied.

3. Paste the command from anlinux in termux

Reopen the termux application then press and hold the screen until the “paste/paste” option appears. Press paste and enter then termux will immediately install kali linux.

The installation process depends on the internet speed used. On my side, about 10-15 minutes.

The sign that kali linux is already installed is a notification on the termux screen “you can now launch kali with the ./start-kali.sh”.

How to Install Kali Linux on Termux
How to Install Kali Linux on Termux

4. Execute the file ./start-kali.sh to enter kali linux from termux

Enter command ./start-kali.sh then press enter. You will automatically enter the Kali Linux OS.

For information!!
After entering Kali Linux, you have to reinstall all packages and scripts that were installed in Termux before.

There is no pkg install command, there is an apt install command. And the size of the files is bigger.

For example: git on termux is 19mb in size, but for git on kali linux it is 90mb.

Because there are differences, I suggest you learn more about using kali linux.

Well, if you still fail to install Kali Linux, you can watch the following video to help understand.

https://youtu.be/yQoKgoZOthY

Install kali Linux to get Termux root access

Or for other versions you can install kali linux from github code.

How to Install Kali Linux via github code

This method is simpler because it does not require other additional applications. It’s just that we need to download the desktop environment (optional).

The package required is the same as above, so you don’t need to enter it again.

So just enter the following command:

wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Kali/kali.sh && bash kali.sh

After the process is complete, immediately enter the following command again:

./start-kali.sh

After entering Kali Linux, now all you have to do is download the desktop environment by entering the following command:

wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh

Finally, all you have to do is enter a new password (7 characters) and you’re done.

Urgent!!
After successfully installing kali linux on termux, every time you will run / enter kali linux you must use the command ./start-kali.sh

And the sign when you are logged in is the letter $ which changes to [email protected]#

successfully running kali linux on termux
successfully running kali linux on termux

What you have to remember

Even though you have successfully installed kali linux, you also cannot directly run the termux root script on termux.

But first enter the Kali Linux OS, then install and run the root script.

Example :

The wifite script (hack wifi) requires root to run.

So what you have to do is:

  1. Enter the termux application then enter the command ./start-kali.sh
  2. Install the package needed by the wifite script with the apt install prefix
  3. Run wifite with the listed command

Alright, now we have learned how to install kali linux on termux. So we can run all root scripts without having to root our android.

Please share the tutorial on how to install Kali Linux on Android with your friends who like to play Termux or directly on social media.

If there are things you want to ask, please write in the comments column and thank you for reading.

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *