SIZ TUTORIALS || PART 2 || HOW TO INSTALL TERMUX AND HOW TO INSTALL APPLICATIONS IN TERMUX || 20% payout to siz-official
Assalamu'alaikum and greetings to all of us.
Meet me again, this time I will discuss about how to install termux on android and how to install applications on termux. Previously I have discussed the meaning of termux and its functions. Below I will include a link to the post part 1 for those who don't understand it. So read on for the review below.
Oh yes, my friend, for those who don't understand termux, please click on my previous post or you can also click below.
How To Install Termux On Android
How to install termux on android is quite easy to do, because it is the same as installing applications normally.
Open your google play store
Enter the keyword "termux" in the search box
Tap on the install or download button
Wait until the process is complete
After all this process is complete, you should find the termux launcher on the HOME screen, then press tap to open termux on your android.
Termux can only be installed on Android version above 5.0
After successfully installing termux, you should run the apt ubdate command so that the database/package list on your smartphone is updated. Then run the following command apt upgrade to upgrade the package in your termux.
How to Install Applications In Termux
Termux has been successfully modified in such a way that your Android smartphone can be installed with various Linux applications. Applications that can be installed via termux have been included in the online termux software repository. To be able to find, install and download what you need easily, you can use the APT package manager.
APT is a package manager commonly used by Debian distributions and their derivatives to manage packages.
1. How to Install the Termux Application from the APT repository
When you use termux it is highly recommended to use the package manager pkg which is a wrapper for the apt package manager.
With pkg you will find it easier to install and upgrade packages automatically without having to manually update the apt list by typing apt ubdate like when using the apt package manager.
I took the screenshot below on a PC, I installed the DropBear ssh server on my Android phone TERMUX then remotely the Android phone shell from the PC using a putty ssh client with port 8022
Pkg help menu. Type $ pkg help to see the options provided by termux pkg package manager.
Looking for packages. Use the following command $ pkg search xxxx to search for commands by name.
Installing packages. Use the command $ pkg install xxxx to Install packages.
Removing packages. Use the command $ pkg unstall xxxx to remove packages.
Reinstall packages. Use the command $ pkg reinstall xxxx to reinstall packages.
Package information. Use the $ pkg show xxxx command to use information about packages.
Displays all available packages. Use the command $ pkg list-all to list all the packages provided in the repository.
2. How to install the Termux application in the form of a *.deb . file
If you have the installer file in *.deb format from the download,
Then you can install it in termux using dpkg.
Install .deb packages. Use the following command $ dpkg -i .package_name.deb to install termux application in format *.deb.
Uninstall .deb PACKAGES. Use the command $ dpkg --remove [package name] to remove packages that were previously installed using the dpkg command.
View the application *.deb. Use the command $ dpkg -l to see a list of *.deb applications installed in termux.
Since dpkg has many useful options, you can view the manual via $ man dpkg.
Attention
packages downloaded from the ubuntu repository or other linux distros will not be able to be installed due to incompatible libc ABIs, and only *.deb packages intended for TERMUX can be installed.
3. How to Install the Termux Application in the Form of Scirpt
If you get a termux application in the form of a script then you need to install the programming language library so you can run the script in termux.
If the script you get comes from an interpreter programming language such as python(.py), Perl(.pl) or ruby(*.rb) then it can be run immediately without compiling it, provided you have installed the programming language in your termux .
Install perl, ruby and python in your termux by typing the command $ pkg install perl ruby python to run the termux application in the form of a script, just use the command $ perl script_mu.pl or $ ruby script_mu.rb or $ python script_mu.py.
Managing Application Scripts in Termux
In general, applications are divided into 2 types based on how the application is run,
namely applications that must be compiled (from source code at home into machine language) before it can be run and applications that can be run directly from source code (interpreter) without compiling.
Applications written in interpreter programming languages will be more flexible and easy to edit as needed,
when you use TERMUX, you will definitely find many small tools/applications in the form of source code that can be run directly without having to be compiled, ordinary people call it a script.
To run applications written in interpreter programming languages such as Perl, Python, MATLAB, or Ruby you only need to install the interpreter,
while to edit the source code / script you can use any text editor.
Programming Language Package Manager
Some programming languages have their own package managers.
The package manager for each programming language is not included by default in TERMUX, so you need to install it manually if you want to use it when learning Termux. Click on the link below and follow the guide on how to install the package manager for each programming language you want.
- Node.js Package Management (npm)
- Perl Package Management (cpan)
- Python Package Management (pip)
- Ruby Package Management (gems)
- TeX Live Package Management (tlmgr)
Alright buddy, this is all I can post on this occasion, you can also click on part 1 if you don't understand it. See you in the next post where we will discuss about How to Use Termux Command Code. Hopefully helpful, and thank you.
Good post dear friend keep it up bro and keep learn with our steem fellows and friends
Regards, Faran Nabeel