How to Install Termux on Android with Easy Steps

How to Install Termux on Android with Easy Steps

SSH access on Windows or Linux is quite easy because the operating system has a built-in command prompt or terminal application.

However, I don't always take my laptop out, so for essential SSH access, such as restarting MySQL or Docker remotely, I have to use my smartphone or tablet.

To support this, I usually use Termux. This application is a terminal emulator and Debian-based Linux environment that runs directly on Android devices without requiring root access. With this application, we can run various commands, including ls, cd, and even apt install, or directly run programming languages ​​like Python, Ruby, and NodeJS.

How to Install Termux

To install Termux, you can get it from the Google Play Store, but it's better to download it from the following GitHub page to avoid various issues, including updates and package installation problems.

Step 1. After downloading the APK file, install it as usual.
Step 2. Next, after the application is installed, make sure you've run the following two commands:

pkg update

pkg upgrade


And that's it. If both commands are successful, you can then install any other packages you need. For example, if I want Termux to be able to access SSH, the package I installed is openssh.

pkg install openssh

After that, I can access my server via SSH and then do many things there.

Now, Termux itself is actually quite a powerful application, in fact, many developers and sysadmins use it for their work. You can also learn about Linux and programming without using a laptop or PC, or do other cool things with Termux.