How to Install Termux on Android?

Video Tutorial

If you are from India or if you know the Hindi language, you can follow the video by watching it. If not, you can scroll down below.


What is Termux?

Termux, in simple terms, is a powerful Android terminal emulator and Linux environment app. It allows you to access and utilize a full-fledged Linux distribution and Pentesting Tools Like Metasploit on your mobile device.

Whether you’re a developer, a hacker, or just a curious user, Termux opens up a whole new world of possibilities right at your fingertips.


How To Install Termux on Android

Note: Since November 2022, the Google Playstore has refused to accept updates from Termux, so downloading Termux from there won’t work. So, here’s how you can download Termux as a Third-Party App.

Step 1: Go to the following link

Download from F-Droid: Termux on F-Droid

F-Droid Termux page

Step 2: Swipe down, then check for the latest release of Termux

Check latest release

Step 3: Swipe down then click on Download APK

Download APK

Step 4: After completion of the download, simply click on it to install it

Install APK

Step 5: Now open the Termux app. You will get the Termux Welcome Screen

Termux Welcome Screen

Step 6: Let us give it Storage permission by the following command

termux-setup-storage

Storage permission command

Step 7: A popup will now appear asking for permission to give access to the storage click Allow

Storage permission popup


Alternate method For Storage permission by the following Steps

Step 1: Go to the app icon, then press and hold

Press and hold Termux app icon

Step 2: Now, press the ‘i’ button. And open permissions

App info and permissions screen

Step 3: Now, allow the file permissions, and it’s all done!

Allow file permissions

Allow files access dialog


Important

Before running any command in Termux or installing any tools, first, execute the following commands to ensures that your Termux environment is up-to-date with the latest package information and upgrades.

apt update && yes | apt upgrade

apt update and upgrade output