How to install Linux terminal on Android

{title}

{title}

Many of us must manage various Operating Systems due to our administrative roles and functions and on many occasions we cannot access equipment with the required Operating Systems. Although before it was more common to have a device with each software, the truth is that now we can gather different oneself. If we talk about Android for mobile, we will see that we can even use it on our computers.

[color = # 000000] H [/ color] o and today the technological advance is so wide that most Smartphones have the capacity to serve as a bridge between the different systems that we can use at the enterprise level. This way you have to keep in mind that Systems like Android and Linux are compatible and that we can manage an Android terminal from Linux thanks to that compatibility. [color = # 000000] [/ color]

Many of these solutions to make different Operating Systems readable with each other is the use of emulators. Through them we can use one OS within another without problems. Therefore, today we will see how we can install a Linux terminal on Android devices.

What is Termux?

[color = # 000000] The tool that we can download for free is called Termux. [/color]

[color = # 000000] This tool will be downloaded from the Play Store and to learn more about this tool we can visit the following link. [/ color]

Termux

Termux features

Among the main features of Termux we have:

  • Secure access when executed in OpenSSH mode.
  • Customizable
  • Possibility of constantly updating .
  • Possibility of simulating various tasks that are normally executed in Linux.

[color = # 000000] Let's see how we can use this interesting emulator on our Android devices. [/ color]

1. Download and install Termux on Android


Step 1
We access the Play Store and enter Termux in the search box and we will see the following results. The option to choose is the developer Fredrik Fornwall. We select it and begin the process of downloading and installing the tool until the installation is complete.

{title}

Step 2
Once the application has been installed we proceed to find it to run it as we open any application on our smartphones.

{title}

Step 3
Once the application is open we will see the following window.

{title}

Step 4
Click on Accept and the installation process of the Termux terminal will begin on our Android device.

{title}

Step 5
Once installed we can see the terminal ready to be used on Android.

{title}

2. Using Termux on Android


Step 1
To see the use of this tool on Android devices, we can enter the apt update command to perform the system update.
 apt update 

{title}

Note

We can use the apt upgrade command to update packages that have any new features available.

Step 2
We have seen how to update the system in Termux, below we will see how we can install an application in Termux . The first step is to see what packages are available to install and for this we will use the apt list command .

 apt list 

$config[ads_text5] not found

{title}

Step 3
As we see we have enough packages available to be installed. For example, if we want to install the OpenSSH package, we must enter the command:

 apt install openssh 

{title}

Step 4
To exit the Termux tool, simply enter the exit command and press Enter and we will exit the application.

{title}

Note

$config[ads_text6] not found

Ctrl

$config[ads_text5] not found

Within all that we can install in Termux are the Nano or Vi editors, but remember that these editors require using the Ctrl key to save or exit the editor, then the question that arises is How to use the Ctrl key if in Android this key not available?

The solution is very simple, the developer of Termux has configured the application so that the Ctrl key on Smartphones is the volume key, for example, if we want to close the nano editor just press the volume key and the letter X of simultaneously.

As we see the installation process is the same way as if we were sitting in front of the computer. Recall that Termux is a command line emulator and cannot generally replace a dedicated team with Linux Operating System, but it is certainly an interesting and novel tool.

$config[ads_text6] not found

If you are interested in everything related to commands on Android and programs from it, do not miss this tutorial to know more about programming from Android.

Android program