• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Initial Repo Setup For Termux Android Linux Environment

By Abhishek Ghosh April 15, 2018 10:58 pm Updated on April 25, 2018

Initial Repo Setup For Termux Android Linux Environment

Advertisement

In our previously published article on Android Terminal Apps, we clearly indicated that Termux is practical app to us and we are going to write guides on Termux in future. Here is CLI Guide For Initial Repo Setup For Termux Android Linux Environment to Make it Like Regular GNU/Linux Server to Run Apache HTTP Server, PHP, MySQL, Python etc. Termux does what Homebrew does to a Mac – kind of missing package manager. How funny, they sell us some sort of unix system without a bash. Community hugely working with Termux repositories and sooner, like Mac we can avoid tapping on Google Play Store like monkeys for installing Free Software packages. I believe that many developer users want to install Apache2, Python on Android and play while on the road, queue etc.

Initial Repo Setup For Termux Android Linux Environment

 

Initial Repo Setup For Termux Android Linux Environment

 

Open Termux. We can use apt or pkg command. First update, upgrade :

Vim
1
2
3
4
pkg update
# apt update
pkg upgrade
apt update

You’ll notice that the setup lacks sources.list file. Also many GNU Tools are not installed by default. Let us install them :

Advertisement

---

Vim
1
2
3
4
5
pkg upgrade
pkg install wget curl dirmngr gnupg-curl
pkg install autoconf automake bison bzip2 clang cmake
pkg install coreutils diffutils flex gawk git grep gzip libtool make patch perl
pkg install sed silversearcher-ag tar

Now, to setup sources.d directory and sources.list file, we need to perform the below steps :

Vim
1
2
3
4
5
6
# Download key from keyserver:
apt-key adv --keyserver pgp.mit.edu --recv A46BE53C
mkdir -p $PREFIX/etc/apt/sources.list.d
# Setup repo
echo "deb [trusted=yes] https://grimler.se root stable" > $PREFIX/etc/apt/sources.list.d/termux-root.list
apt update

It is not abnormal to receive error after running :

Vim
1
apt-key adv --keyserver pgp.mit.edu --recv A46BE53C

Those may appear out of firewall or some missing packages or bug. You may try this :

Vim
1
apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 379CE192D401AB61

The above is for advanced setup. Normally you can run commands to search packages :

Vim
1
2
3
pkg search apache2
pkg search nginx
pkg search python

Here are repositories and more information :

Vim
1
2
3
https://github.com/termux/termux-packages/tree/master/packages
https://github.com/termux/termux-apt-repo
https://wiki.termux.com/wiki/Package_Management

Tagged With TERMUX , pkg install root-repo , best termux repos 2021 , termux lxc , android reposp for termux , setting up termux on android , termux etc/apt/sources list , termux initial setup , termux repo , termux repositories

This Article Has Been Shared 817 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Initial Repo Setup For Termux Android Linux Environment

  • Juju Package Manager for Cloud Computing

    Juju is a Package Manager, service orchestration management tool developed by Canonical for development of Cloud Computing of your own. It is Open Source.

  • Platform as a Service : Careful About Disaster Recovery as User

    Platform as a Service is mostly free for the small scale App, CMS Hosting. New users must be careful about Cloud Computing Disaster Recovery as users of PaaS.

  • Changing Scenario in US Based Cloud Computing : The Business Aspects

    Changing Scenario in US Based Cloud Computing Will Render the Telecommunication companies to could become the wholesale suppliers of cloud services in future.

  • What is Immutable Infrastructure?

    Immutable Infrastructure is a concept which has reason to be present for developing softwares on virtual environments running Docker or LXC.

  • Calculating ROI of Cloud Project : Cloud Computing for Business

    Companies may take different paths to determine the profitability of cloud initiatives. Here is an Article on Calculating ROI of Cloud Projects.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Best Powerpoint Templates for Communicating IoT Concepts April 17, 2021
  • How to Build a DIY Water Level Indicator? April 16, 2021
  • How Startups Can Convince the Investors April 14, 2021
  • What to Know About the Cloud Storage Services for Smartphones April 13, 2021
  • WonderFox HD Video Converter Factory Pro Review April 10, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Initial Repo Setup For Termux Android Linux Environment," in The Customize Windows, April 15, 2018, April 20, 2021, https://thecustomizewindows.com/2018/04/initial-repo-setup-termux-android-linux-environment/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy