If you want to learn Linux, programming, Python, Git, or command-line tools directly from your Android phone, Termux is one of the most useful applications to explore.
Termux provides a terminal emulator and Linux-like environment on Android. It allows users to install packages and work with tools such as Python, Git, SSH, Nano, Curl and Wget.
In this Termux 2026 guide, we will cover installation, basic Linux commands, package management, Python, Git, SSH and useful tips for beginners.
What Is Termux?
Termux is an Android terminal emulator and Linux environment that allows you to use a command-line interface on your smartphone.
With Termux, you can:
- Learn Linux commands
- Practice Python programming
- Use Git and GitHub
- Connect to remote servers using SSH
- Manage files from the terminal
- Run shell scripts
- Install command-line packages
- Learn basic programming and system administration
Termux is particularly useful for students, developers and beginners who want to practice Linux and programming without always needing a computer.
How to Download Termux in 2026
It is recommended to download Termux from trusted and official sources.
The official Termux project provides releases through sources including F-Droid and GitHub.
Download from F-Droid
You can find the Termux application on F-Droid.
Official source:
https://f-droid.org/packages/com.termux/
Download from GitHub
You can also find official Termux releases on GitHub.
Official repository:
https://github.com/termux/termux-app
Important Installation Tip
Avoid downloading Termux APK files from random websites.
Also, do not mix Termux applications or plugins installed from different sources because signing-key differences can cause installation and update problems.
First Commands After Installing Termux
After opening Termux for the first time, update the package lists:
pkg update
Then upgrade installed packages:
pkg upgrade
If Termux asks for confirmation, type:
Y
and press Enter.
Basic Termux Linux Commands
Here are some useful commands for beginners.
Check Current Directory
pwd
This displays your current working directory.
List Files
ls
For detailed file information:
ls -la
Change Directory
cd folder-name
Go back one directory:
cd ..
Return to the home directory:
cd
Create a Folder
mkdir myfolder
Create a File
touch test.txt
Read a File
cat test.txt
Delete a File
rm test.txt
Warning: Be careful when using rm, especially with important files.
Give Termux Access to Android Storage
To allow Termux to access shared Android storage, run:
termux-setup-storage
Android will ask for storage permission. Allow the permission if you want Termux to access your shared storage.
How to Install Python in Termux
Python is one of the most useful programming languages you can use with Termux.
Install Python:
pkg install python
Check the installed version:
python --version
Start Python:
python
Try this simple program:
print("Hello from Termux")
To exit Python:
exit()
How to Install Git in Termux
Git is useful for working with source code and GitHub repositories.
Install Git:
pkg install git
Check the version:
git --version
To clone a repository:
git clone https://github.com/username/repository.git
Replace the example URL with the actual repository URL you want to use.
Install Nano Text Editor
Nano is a simple command-line text editor.
Install Nano:
pkg install nano
Open a file:
nano test.txt
Nano is a good choice for beginners who are learning terminal-based text editing.
How to Install SSH in Termux
SSH can be used to connect to authorized remote Linux systems.
Install OpenSSH:
pkg install openssh
Check SSH:
ssh -V
Basic connection format:
ssh username@server-ip
For example:
ssh user@192.168.1.100
Only connect to systems that you own or are authorized to access.
Useful Termux Packages
Some commonly useful packages include:
pkg install git
pkg install python
pkg install nano
pkg install openssh
pkg install wget
pkg install curl
You can also install several packages together:
pkg install git python nano openssh wget curl
Search for Packages in Termux
To search for a package:
pkg search package-name
For example:
pkg search python
Install a package:
pkg install package-name
Remove a package:
pkg uninstall package-name
Update Termux Packages
It is a good idea to keep your installed packages updated.
Use:
pkg update
pkg upgrade
If you encounter repository or package errors, check the official Termux documentation rather than copying random commands from unknown websites.
Useful Linux Commands to Learn
If you are new to Linux, start with these commands:
pwd
ls
cd
mkdir
cp
mv
rm
cat
grep
find
Learning these commands will help you understand how files and directories are managed from the command line.
What Can You Learn With Termux?
Termux can be used as a mobile learning environment for several technical subjects.
1. Linux
You can practice:
- File management
- Directories
- Permissions
- Shell commands
- Package management
- Bash scripting
2. Python
You can learn:
- Python basics
- Variables
- Loops
- Functions
- File handling
- Simple automation
- Programming exercises
3. Git and GitHub
You can learn how to:
- Clone repositories
- Check Git status
- Pull updates
- Create commits
- Work with Git repositories
4. SSH
You can learn the basics of connecting to authorized remote Linux systems and servers.
Termux Tips for Beginners
Use Official Sources
Download Termux from trusted sources such as the official project or F-Droid.
Don't Run Unknown Commands
Do not blindly copy and execute commands from websites, social media posts or videos.
Understand what a command does before running it.
Root Access Is Not Required for Basic Learning
You can learn Linux commands, Python, Git and SSH without rooting your Android phone.
Keep Your Data Safe
Be especially careful with commands such as:
rm
and commands downloaded from unknown sources.
Android Background Restrictions
Modern Android versions can restrict background processes. As a result, some long-running Termux processes may be stopped by the Android system.
Termux vs Traditional Linux
Termux provides a Linux-like command-line environment on Android, but it is not the same as installing a complete Linux desktop operating system on a PC.
Termux is useful when you want to:
- Practice Linux commands
- Learn programming
- Use Git
- Work with SSH
- Run command-line utilities
- Experiment with scripts
- Learn while using an Android phone
Frequently Asked Questions
Is Termux Free?
Yes. Termux is an open-source project and can be obtained from supported distribution sources.
Can I Run Python in Termux?
Yes. Install Python with:
pkg install python
Then run:
python
Do I Need Root Access?
No. Root access is not required for many common Termux activities such as learning Linux, Python, Git and SSH.
Can Termux Be Used for Programming?
Yes. Termux supports various programming tools and languages through its package system.
Can I Use GitHub With Termux?
Yes. Git can be installed and used to clone and manage Git repositories.
Is Termux the Same as Linux on a PC?
No. Termux provides a Linux-like environment and command-line tools within Android. It is not identical to running a full Linux desktop distribution on a computer.
Final Thoughts
Termux is a powerful learning tool for Android users in 2026. It can help beginners explore Linux commands, Python programming, Git, SSH and many other command-line technologies directly from a smartphone.
If you are starting with Termux, begin with basic Linux commands and package management before moving on to more advanced tools.
Always download applications from trusted sources and understand commands before executing them.
Disclaimer: This article is for educational and informational purposes only. Use Termux, scripts and command-line tools responsibly and only on devices, systems and networks that you own or are authorized to access.
No comments:
To insert a short code, use & lt; i rel = & quot; code & quot; & gt; ... CODE ... & lt; / i & gt;
To insert a long code, use & lt; i rel = & quot; pre & quot; & gt; ... CODE ... & lt; / i & gt;
To insert an image, use & lt; i rel = & quot; image & quot; & gt; ... PICTURE URL ... & lt; / i & gt;