How to Use Termux for Beginners 2022
Termux is an Android-based application in the form of a terminal that can be used to run all programming languages, such as Python, PHP, and so on.
Not only that, Termux can also be used to run Linux operating systems. However, many ordinary people do not know how to use Termux because it still sounds quite foreign.
In short, Termux functions as a tool that can install and run a program in the form of a script or project.
Termux is the choice of many people because the file size is quite small, only 17 MB. So that you understand better, here is a brief explanation of how to use the Termux application.
How to Install the Termux App
- The first step is to open the Google Play Store app on your device.
- After that, how to apply Termux in the search field.
- If you have found it, tap the button Install.
- If the Termux application is already open, the next step is to wait until the installation process in the Termux application is complete.
- If the installation process is complete, then the initial display will be in the form of some information that is similar to a command form.
How to Use the Termux App
1. Entering Commands Into the Termux Application
Because its function is to run programming languages, of course Termux applications can only work if they get commands. Therefore, you can use the keyboard on the device used to write commands.
For the commands entered can be as you want. There are some basic Termux commands and their functions as below.
- ls = Display the contents of the file
- CD = open directory
- pkg install
= install programming packages - apt list = displays all programming packages that have been installed and not
All commands you enter must be written in lowercase. If you have already written a command, you can press the Enter key to run the command.
2. Installing Packages and Modules
Termux itself requires packages and modules in order to run a program. There are several types of packages that are widely used, such as python, php, wget, and so on.
As for the types of modules, such as mechanize, request, bs4, and many more. You can install the package and the module according to the program or script that you want to run later.
Each script from Termux has different types of packages and modules, so you can install packages and modules as needed.
3. Clone File Script
With the help of Github as a web host service, you can save code from a project, and Termux scripts are no exception. As a first step, you need install git packages then write git clone command followed by the address of the script the.
4. Running an already installed script
After successfully cloning the script file, the next step is to start run script the. You can execute the main file of that script by opening the folder of the script.
5. Done
After you have succeeded in executing the script file, the script will run with a different initial appearance, depending on the author of the script. After this, you can select the menu and enter some data requested by the script.
To select menus and enter data, you can use the help of the keyboard available on the Android device that is used.
Also read: 7 Hacker Apps on Android that are Suitable for Beginners
Although it is a little complicated, you can learn how to use Termux continuously so that you can master it easily. You can use this method for various things, such as running bots, accessing the internet without using Java scripts, and much more.