Termux App / Blog / What is Termux and How to Use?

What is Termux and How to Use?

What is Termux and How to Use?

Termux is a terminal emulator and Linux environment that runs on Android. This is a great way to get the most out of Android. Imagine Android is just a vehicle for running Linux. You can do just about anything with Termux that you can do with Linux. One of the things you can do with Termux is to install the GCC compiler. This will allow you to run GUI-based applications written in C.

 

One of the best features of Termux is the ability to install the GCC compiler. This will allow you to run GUI-based applications written in C. You also have access to a whole bunch of Linux programs. You can do everything from running a web server to installing an Android version of the vi editor. Speaking of which, you can even install Android versions of popular Linux vi-based programs like vim and mc.

Step-by-Step Guide How to Use Termux

  1. Install Termux

Download and install Termux from the Google Play Store.

  1. Enable Root

In Termux, type “su” to enable root mode.

  1. Install a Terminal

In Termux, type “apt install terminal” to install a terminal.

  1. Install a Python2.7

In Termux, type “apt install python2.7” to install a python2.7.

  1. Change Python Path

In Termux, type “export PATH=$PATH:/data/data/com.termux/files/usr/local/bin” to change python path.

  1. Install Python Packages

Type in “apt install python-pip” to install python packages.

  1. Install IDLE

Type in “pip install idle” to install IDLE.

  1. Install Python

Type in “pip install python” to install python.

19 Jan 2022