How to Install Termux the Right Way — Step-by-Step for Android Users

Unlock a full Linux terminal on Android—no root needed. Learn how to install Termux step-by-step and start hacking productively on the go.

We should always check ourselves before recommending things.

As a seasoned software developer working with the LAMP (Linux Apache MySQL PHP/Python) stack, I used to assume that Linux belonged on full-sized machines—desktops, laptops, and servers. I thought everyone had the same setup, the same opportunities, and the same time to tinker with terminals and learn the system.

That assumption? A classic case of survivor bias—the belief that just because I had access to proper hardware, everyone else did too. But the truth is, not everyone can afford a laptop.

That reality hit me when I met Engr. Guinto, an educator who teaches STEM under the shade of a mango tree, using whatever limited resources he can get his hands on. His students, eager to learn, often share a single outdated phone among themselves. Yet, their curiosity for technology is boundless.

And that’s when I realized: Linux education shouldn’t be limited by hardware.

Enter Termux—a powerful terminal emulator that turns any Android device into a full-fledged Linux environment. Whether you’re a beginner experimenting with the command line, a student without access to a laptop, or a professional needing a portable dev tool, Termux brings Linux to your fingertips—without needing a PC.

In this guide, I’ll walk you through how to install Termux on your Android device and unlock the full potential of Linux on mobile.

Why Install Termux?

Before we dive into the installation process, let’s quickly explore why you should install Termux:

Now, let’s get started with how to install Termux on your Android device.

· · ─ ·𖥸· ─ · ·

Installation Procedure

Step 1: Open the Google Play Store

To install Termux, begin by opening the Google Play Store on your Android device. You can do this by tapping the Play Store icon on your home screen or in your app drawer.

Step 2: Search for Termux

Once you’re in the Play Store, tap the search bar at the top of the screen and type “Termux.” Press enter or tap the search icon to display the search results.

Step 3: Select Termux from the Results

In the search results, look for the Termux app. It should be the first result, easily recognizable by its black terminal icon. Tap on it to open the Termux app page.

Step 4: Install Termux

On the Termux app page, you’ll see an “Install” button. Tap “Install” to start downloading and installing Termux on your device. The installation process may take a few moments, depending on your internet speed.

Step 5: Open Termux

Once the installation is complete, the “Install” button will change to an “Open” button. Tap “Open” to launch Termux for the first time. You can also find the Termux icon in your app drawer for easy access.

Step 6: Grant Permissions (if prompted)

When you first open Termux, it may request permission to access your device’s storage. This permission is essential for Termux to save and access files. Follow the on-screen prompts to grant the necessary permissions.

Step 7: Update and Upgrade Packages

After you install Termux and open it, it’s important to update and upgrade the packages to ensure you have the latest versions. Type the following command in the Termux terminal:

pkg update && pkg upgrade

Press enter, and Termux will begin updating and upgrading its packages. This process may take a few minutes, depending on the number of packages to be updated.

Step 8: Install Additional Packages (Optional)

Termux comes with a minimal base system, but you can install additional packages based on your needs. For example, to install Git, use the following command:

pkg install git

You can also install other tools like Python, Node.js, or Vim using similar commands.

· · ─ ·𖥸· ─ · ·

Troubleshooting Common Issues

If you run into any issues while trying to install Termux or using it, here are some troubleshooting tips:

  • App not downloading: Ensure that you have a stable internet connection and sufficient storage space on your device.
  • Permissions issue: Double-check that Termux has the necessary permissions, especially for storage access.
  • Command not found: Make sure you have installed the required package before using a command.

· · ─ ·𖥸· ─ · ·

Turn Your Android into a Powerhouse with Termux

Installing Termux on your Android device is a gateway to a powerful mobile computing experience. With this step-by-step guide, you’ll have no trouble getting Termux up and running. Once you install Termux, take some time to explore the wide range of packages and tools available, and start customizing your environment to fit your needs.

Ready to get the most out of Termux? Check out our other guides on automating tasks, managing servers, and more!

Want more hands-on guides like this?

Subscribe now and get exclusive tips on Termux, ethical hacking, and open-source tools—straight to your inbox.

Leave a Reply

Your email address will not be published. Required fields are marked *

Comments (

)

  1. JAYA

    GOOD FOR THE BEST

    1. Sam Galope

      Thank you so much! Your support means a lot! 😊 If you ever want to dive into more content, feel free to check out my latest article: How Vibration Sensors Work: Key Use Cases in Modern Technology. Appreciate you! 🙌

  2. Joseph Saucier

    I would like a cheat sheet

    1. Sam Galope

      Hey there! The cheat sheet is on its way—check your email! 📩

      In the meantime, you might find this interesting:
      👉 Termux Storage & Directory Management Cheat Sheet – Master File Handling in Termux.

      Let me know if you need more resources! 🚀

  3. Mike

    Thx

    1. Sam Galope

      You’re welcome! 😊 If you’re diving deeper into Termux, you might also like this:
      👉 Termux Commands Cheatsheet – Essential CLI Commands for Android.

      Happy coding! 🚀

  4. Brett

    New to termux where can I get a good guide to setting it up

    1. Sam Galope

      Hey there! The cheat sheet is on its way—check your email! 📩

      In the meantime, you might find this interesting:
      👉 The Ultimate Guide to Termux
      .

      Let me know if you need more resources! 🚀