What is Termux and How To Install its API?

What is Termux and How To Install its API?

Termux: Because You're Not a Real Hacker Without It🗿

·

2 min read

What is Termux?

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are available using the APT package manager.

You can download it from F-Droid (updated version available here) or Github. Google Play Store version is deprecated and it is highly recommended to NOT install Termux apps from Play Store anymore.

Termux is a versatile tool that can be used to learn Linux commands on an Android phone, impress friends with fun tricks, or even get started with basic ethical hacking. It's a great way to expand your skills and have some fun in the process.

What’s an API?

API stands for Application Programming Interface. Through the Termux API, you can access your phone storage, location, camera etc. It acts as a bridge of communication between the emulator and your phone.

If you’ve installed Termux from F-Droid, then you should install the Termux API from F-Droid only (Click here), or else you may want to follow the steps given below.

Installing the Termux API:

1. Update and upgrade the packages using this command:

apt update && apt upgrade

2. Install the Termux API package using this command:

pkg install termux-api

3. Great! You've just installed the Termux API. Follow point number 1 again.

4. You can now run different commands of the Termux API you've just installed!

If you are ready to use the commands then check out my guide on ‘How to use Termux-API commands in Termux’ 💻

Â