How to install Termux on Android without Root

install termux on android without root

Termux is one of the most popular terminal emulators for Android that lets you run linux commands on the device. There are hundreds of add-ons available for Termux, allowing you to enhance the power of your device without requiring root access. Termux has gained immense popularity amongst developers worldwide in the last few years.

The majority of the time, you need a small utility tool for many different things. These include ssh, web scraping, pentesting with metasploit, web server testing, automation, social media automation, coding, etc. Of course, you don’t like to spend precious computer time on a small task that must be done quickly. In other words, termux helps you do some very important and priority tasks that reduce your workload tremendously.

The purpose of this guide is to show how to install termux on an Android device without rooting it or unlocking its bootloader.

Let’s look at the steps one by one.

How to install Termux on Android

To install termux, you need to download the appropriate apk file from the open source repository, and then you need to set up local storage.

Take a look at the steps.

Step 1: Download Termux Emulator

To begin with, you will need to download the applications from the application marketplace. Two versions of termux are available, the first is in the google play store and the second one in the F-Droid store. You can install whichever version of the terminal you like.

Recommendation: In my experience, both versions of the terminal work well, and I recommend you install the emulator from the F-droid store. In addition to the default terminal, there are a number of modules and add-ons available (open source) that can be integrated easily into it.

Add-ons are available through the Google Play Store and F-Droid Store. Add-ons offered at the play store are chargeable, whereas those available at F-Droid are free. That’s why I recommended it.

Click here to download the termux terminal. (File shall be in apk format, so you need to install it.)

Step 2: Install the required packages

Termux will start downloading the required binaries and packages from the resource server once you launch the application (one time). The process will take some time, so be patient.

Step 3: Upgrade the packages

Now you have to upgrade all packages and install the latest security build. In the engineering and development world, it is considered best practice to upgrade the binaries periodically. Running the below command will begin the upgrade process.

apt update && apt upgrade

Step 4: Setup Local storage access

By default, Termux does not have access to your internal and sd card storage. You need to manually set up the permission. Run the below command.

termux-setup-storage

A pop-up box will appear after you run the above command, asking you to accept access to local storage. Tap ‘Allow‘ to accept.

You’re done. Your android device has now been successfully installed with the termux terminal. You can now access thousands of open source libraries that are ready to integrate with the application. Additionally, I have written a few articles on it, you can read them here.

Conclusion

There are a number of terminal programs available at the google play store to install on your android device, but most developers prefer termux to the rest. The decision to use this application has to do with the fact that it is open source. Furthermore, there are thousands of articles about it that can be found across the internet as well as forums.

Thank you for reading the above article. If you are facing any issue related to the above guide, please make a comment in the below comment box. I would love to answer your queries.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.