Step 1: Download Termux to your Android deviceWith Termux, you can use your Android as a full-blown machine, write, and compile code for free. Simply search for Termux in the Google Play Store or download the app from the link down below:
Step 2: Run Linux terminal on Android and update package listingThe first time you open Termux on your Android device, you’ll see the simple screen with a basic Bash prompt. Before you begin compiling code or testing anything, make sure you update the package listing. To do so, issue the command “apt update” in the terminal and wait as it fetches the latest package lists. The command may also prompt you if there are any upgradable apps on your Android device, which can be upgraded with the “apt upgrade” command.
Step 3: Install an app with TermuxTo see the entire list of apps you can install with your Linux emulator, type in the command “apt list”. Scroll through the entire list of available apps and find the app that you want to install and run with Termux. For instance, if you want to install the openssh package, type in the command “apt install openssh”. Once you have the app installed, you can issue an ssh command just like you would on your Linux machine. Are the command-line tools of Termux enough to make it an adequate app to run Linux terminal on Android? Let us know your opinion in the comments section below.
Similar / posts
July 09 2019
June 27 2019