{"id":653,"date":"2019-12-14T05:36:57","date_gmt":"2019-12-14T05:36:57","guid":{"rendered":"http:\/\/zerothcode.com\/blog\/?p=653"},"modified":"2020-03-28T10:20:53","modified_gmt":"2020-03-28T10:20:53","slug":"linux-command-android-termux","status":"publish","type":"post","link":"https:\/\/zerothcode.com\/blog\/linux-command-android-termux\/","title":{"rendered":"How to Use the Linux Command Line on Android With Termux"},"content":{"rendered":"<p>Android is a capable operating system, as it offers many apps that approach desktop-class. Yet sometimes, it takes a fair bit of effort to accomplish something on Android that would be a snap on a desktop.<\/p>\n<p>One solution is to take advantage of Android\u2019s hidden Linux infrastructure. The Termux app provides a command-line environment and allows you to install honest-to-goodness Linux apps on your Android device.<\/p>\n<p>Here\u2019s how to use the Termux app.<\/p>\n<h2>Why Use Termux? Android<\/h2>\n<p>There are already some apps in the Play Store that are Android ports of Linux applications.<\/p>\n<p>These differ from Termux in that they replicate those Linux apps, but they\u2019re made in an \u201cAndroid way.\u201d<\/p>\n<p>In contrast, Termux is a self-contained Linux environment. Its programs are (for all intents and purposes) the same as their Linux counterparts. This conveys some advantages over the ported applications:<\/p>\n<ul>\n<li><strong>Consistency:<\/strong>\u00a0Linux apps that have been ported to Android require a user interface of some kind. The user experience on Android largely depends on how much effort the developer puts into it. Conversely,<br \/>\nTermux apps are the same as the Linux versions, from keyboard shortcuts to how you install them.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Compactness:<\/strong> The addition of Android code can cause some slim applications to become heavy.<br \/>\nFor example, an Android SSH client might be anywhere from 2MB to 12MB in size.\u00a0 And it provides an SSH server too.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter lazy-load\" src=\"https:\/\/static.makeuseof.com\/wp-content\/uploads\/2019\/11\/muo-android-termux-start.jpg\" alt=\"Get a Linux command line on Android with Termux\" width=\"670\" height=\"407\" data-src=\"\/\/static.makeuseof.com\/wp-content\/uploads\/2019\/11\/muo-android-termux-start.jpg\" data-loaded=\"true\" \/><\/p>\n<ul>\n<li><strong>Timeliness:<\/strong> When an application receives an update, you remain at the mercy of the app\u2019s developer for an upgrade. In contrast, Termux applications are standard Linux packages that require less maintenance. You\u2019re likely to get access to new features more quickly with Termux.<\/li>\n<li><strong>Price:<\/strong>\u00a0 All the apps in Termux are free (and open-source), as is Termux itself.<\/li>\n<\/ul>\n<h2>How to Use Termux<\/h2>\n<p>Before diving in, understand that Termux is primarily a command-line environment. There\u2019s no fancy user interface with shiny buttons here.<\/p>\n<p>This goes not only for the base Termux package but its apps as well. You won\u2019t get the newest version of LibreOffice with this method.<\/p>\n<p>Most importantly, you must be comfortable with the command line in order to install and use these programs on Termux. To develop some familiarity, check our list of the\u00a0most-used Linux Terminal commands.<\/p>\n<p>When you\u2019re ready, grab your phone or tablet and install Termux.<\/p>\n<p><strong>Download:<\/strong>\u00a0<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.termux\" target=\"_blank\" rel=\"noopener noreferrer\">Termux apk<\/a>\u00a0(Free)<\/p>\n<p>You May Also Read:<\/p>\n<p><a href=\"http:\/\/zerothcode.com\/blog\/play-store-coronavirus-outbreak\/\">http:\/\/zerothcode.com\/blog\/play-store-coronavirus-outbreak\/<\/a><br \/>\n<a href=\"http:\/\/zerothcode.com\/blog\/burp-suite-monitor-endpoints\/\">http:\/\/zerothcode.com\/blog\/burp-suite-monitor-endpoints\/<\/a><br \/>\n<a href=\"http:\/\/zerothcode.com\/blog\/traxss-automated-xss-scanner\/\">http:\/\/zerothcode.com\/blog\/traxss-automated-xss-scanner\/<\/a><br \/>\n<a href=\"http:\/\/zerothcode.com\/blog\/penta-automate-pentesting\/\">http:\/\/zerothcode.com\/blog\/penta-automate-pentesting\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android is a capable operating system, as it offers many apps that approach desktop-class. Yet sometimes, it takes a fair<\/p>\n","protected":false},"author":1,"featured_media":651,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[529],"tags":[],"yst_prominent_words":[160,495,538,307,567,554,545,537,539,541,542,531,535,546,933,540,547,530,496,552],"class_list":["post-653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-termux"],"_links":{"self":[{"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/posts\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/comments?post=653"}],"version-history":[{"count":0,"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/posts\/653\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/media\/651"}],"wp:attachment":[{"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/media?parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/categories?post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/tags?post=653"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/zerothcode.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}