How to Install Kali Linux on Android Using Termux (Step-by-Step Guide)
Kali Linux is a powerful penetration testing and security auditing platform. While it's primarily used on PCs, you can also run it on your Android phone using Termux. In this guide, we'll walk you through the step-by-step process.
Prerequisites
Before starting, ensure you have:
- Android 7.0 or higher (root not required but helpful for full functionality)
- Termux app (download from F-Droid
- Stable internet connection (for downloading packages)
- At least 5GB free storage (Kali Linux tools take space)
Step 1: Install & Update Termux
- Download Termux from F-Droid
- Open Termux and run the following commands to update packages:
pkg update -y && pkg upgrade -y
- Install essential dependencies:
pkg install wget proot -y
Step 2: Install Kali Linux in Termux
Now, we'll install Kali Linux using a script. Run these commands one by one:
- Download the Kali Linux installation script:
wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Kali/kali.sh -O kali.sh
- Make the script executable:
chmod +x kali.sh
- Run the installer:
./kali.sh
- Wait for the installation to complete (may take 10-20 minutes)
Step 3: Start Kali Linux
After installation, launch Kali Linux using:
You'll now be inside a Kali Linux environment!
Step 4: Install Kali Linux Tools
To install common Kali tools (like Metasploit, Nmap, etc.), run:
apt install kali-tools-top10 -y
(Optional) Install a full Kali Linux suite:
Step 5: Using GUI (Graphical Interface) [Optional]
If you want a graphical desktop, install VNC Viewer:
- Inside Kali, install Tigervnc:
apt install tigervnc-standalone-server -y
- Set up a VNC password:
vncpasswd
- Start the VNC server:
vncserver -localhost no
- Install VNC Viewer from the Play Store and connect to:
localhost:1(Use the password you set earlier)
Conclusion
You've successfully installed Kali Linux on Android using Termux! Now you can run security tools like:
- Nmap (Network scanning)
- Metasploit (Exploitation framework)
- Wireshark (Packet analysis)
- Aircrack-ng (Wi-Fi hacking)
⚠ Warning: Use Kali Linux only for ethical hacking and legal purposes. Unauthorized hacking is illegal.
Troubleshooting Tips
❌ "Permission Denied" errors?
→ Run termux-setup-storage and allow storage access.
❌ Script not working?
→ Ensure you downloaded Termux from F-Droid, not Play Store.
❌ Low storage?
→ Use an SD card or clear space before installing.
Did this guide help you? Share your experience in the comments! 🚀
(For more tutorials, follow @dheerajparat on social media!)
Comments
Post a Comment