Skip to main content

Getting Started with Termux on Android: A Comprehensive Guide

· Updated: Dec 30, 2024 · Android, Termux

Overview

Termux is a powerful terminal emulator for Android that brings a Linux-like command-line experience to your mobile device. In this guide, we’ll walk through the installation process using F-Droid, setting up storage access, and exploring the basic functionality of Termux.

Installing Termux from F-Droid

To install Termux on your Android device, follow these steps:

  1. Install F-Droid: F-Droid is an open-source app store that hosts a variety of free and open-source applications, including Termux. You can do this by downloading the F-Droid APK from the official website and installing it on your device. or you can download it from here.

  2. Search for Termux: Once F-Droid is installed, open it and search for Termux and install it.

  3. Grant Permissions: After the installation is complete, launch Termux. You will be prompted to grant storage access. Allow them to proceed.

  4. Storage Access: To access your device’s storage from Termux, you need to grant permission. Run the following command in Termux :)

    termux-setup-storage

    Confirm the permission request when prompted.

Getting Started with Termux

Now that you have Termux installed and storage access configured, you can start using it as a powerful terminal on your Android device. Here are some tips to help you get started.

Basic Commands

Termux use the package manager pkg or apt or apt-get to install and manage software packages.

Here are some basic commands to get you started:

Conclusion

Actually you can even install a full Linux distribution on your Android device using Termux and launch it using a VNC client. Termux is a versatile tool that can be used for various purposes, from running scripts to setting up a web server. It’s a must-have app for anyone who wants to explore the world of command-line interfaces on their Android device.