Termux Tutorials – Linux Environment Android app

In the Post i am telling to you about Termux android app and Termux Tutorials. Termux is most popular linux environment app for Android Devices.

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. It combines powerful terminal emulation with an extensive Linux package collection.

• Enjoy the bash and zsh shells.
• Edit files with nano and vim.
• Access servers over ssh.
• Develop in C with clang, make and gdb.
• Use the python console as a pocket calculator.
• Check out projects with git and subversion.
• Run text-based games with frotz.



Access remote servers using the ssh client from OpenSSH. Termux combines standard packages with accurate terminal emulation in a beautiful open source solution.

Feature packed. Take your pick between Bash, fish or Zsh and nano, Emacs or Vim. Grep through your SMS inbox. Access API endpoints with curl and use rsync to store backups of your contact list on a remote server.

Customizable. Install what you want through the APT package management system known from Debian and Ubuntu GNU/Linux. Why not start with installing Git and syncing your dotfiles?

Explorable. Have you ever sat on a bus and wondered exactly which arguments tar accepts? Packages available in Termux are the same as those on Mac and Linux – install man pages on your phone and read them in one session while experimenting with them in another.

With batteries included. Can you imagine a more powerful yet elegant pocket calculator than a readline-powered Python console? Up-to-date versions of Perl, Python, Ruby and Node.js are all available.

Ready to scale up. Connect a Bluetooth keyboard and hook up your device to an external display if you need to – It supports keyboard shortcuts and has full mouse support.

Tinkerable. Develop by compiling C files with Clang and build your own projects with CMake and pkg-config. Both GDB and strace are available if you get stuck and need to debug.


Some extra features available. You can add them by installing addons:

Termux:API – Access Android and Chrome hardware features.
Termux:Boot – Run script(s) when your device boots.
Termux:Float – Run in a floating window.
Termux:Styling – Have color schemes and powerline-ready fonts customize the appearance of the terminal.
Termux:Task – An easy way to call Termux executables from Tasker and compatible apps.
Termux:Widget – Start small scriptlets from the home screen.

Where Get IT

Get it on Google PlayGet it on F-Droid

Termux Tutorials

How To Install Package in Termux

pkg install <package name>

How To search Package

pkg search <query>

How To Upgrade Package

pkg upgrade


pkg uninstall <pkg name>

Install Mosquitto MQTT Broker

After Installation, Run Termux app. Then at the prompt type

pkg install mosquitto mosquitto

Install Node-Red

Prompt type :

apt update
apt upgrade
apt install coreutils nano nodejs
npm i -g --unsafe-perm node-red
node-red Then you can point a browser to localhost:1880

Install C language

pkg install clang

Install Python

pkg install python

Install NodeJS

pkg install nodejs

Install Go programming language

apt install golang

Install PHP language

apt install php

How To use SSH

pkg install dropbear
pkg install openssh

Find IP address


Install nano Editor

pkg install nano

Install Git GitHub tool

apt install git

Control Raspberry Pi

If you have a headless Pi, then you can Control and use Raspberry Pi via SSH using Termux. How to setup truly headless RPi – How To Use Raspberry pi in a truely headless mode

Install Apache2

apt update
apt upgrade
apt install apache2

Remember Apache directory is this /data/data/com.termux/files/usr/share/apache2/default-site/htdocs/

For example I have read.txt if you want to move this read.txt to Apache directory then I use this command

mv read.txt /data/data/com.termux/files/usr/share/apache2/default-site/htdocs/

To start apache2 server in Termux type this command :


Now open browser and type localhost:8080/read.txt

Can I install all the Termux packages?

Probably no, some packages are known to conflict with each other, e.g. Dropbear and OpenSSH. But you can still install most of packages, this will take approximately 3.5 GB of space on internal storage.

  1. Use apt install * in an empty directory. This will produce an error, and this is exactly the result you want for step one. Study the output to find out conflicting packages, then find a way to select only packages that don’t cause conflicts.

I hope you like this post “Termux Tutorials – Linux Environment Android app”.Do you have any questions? Leave a comment down below!

Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog.

You may like also:

Harshvardhan Mishra

Hi, I'm Harshvardhan Mishra. Tech enthusiast and IT professional with a B.Tech in IT, PG Diploma in IoT from CDAC, and 6 years of industry experience. Founder of HVM Smart Solutions, blending technology for real-world solutions. As a passionate technical author, I simplify complex concepts for diverse audiences. Let's connect and explore the tech world together! If you want to help support me on my journey, consider sharing my articles, or Buy me a Coffee! Thank you for reading my blog! Happy learning! Linkedin

5 thoughts on “Termux Tutorials – Linux Environment Android app

Leave a Reply

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