0

Ok, so I was looking for a terminal emulator for android and I found Termux. Then I discovered that it has "apt-get" as a package manager and I played around with it and installed a few packages. Then I had the idea! Debian also runs on a few ARM devices so I should be able to find the URL of the repo where the packages are collected. I searched the internet to no avail. So now I have two questions: - What's the URL to the Kali or Debian package repo containig ARM packages? - How do I install the packages after downloading "package.deb"?

  • Normal Debian packages won't run on Android without modification. Android has its own ABI and some different standard libraries, so executables compiled for GNU/Linux don't run on it. – Dan Hulme May 24 '16 at 7:56
  • Yes but on Termux? – user164017 May 24 '16 at 9:01
  • Termux is just a terminal emulator. It doesn't change what binaries you can run on the system. Termux's own repository contains packages built for Android, which is why they work, but normal packages won't. – Dan Hulme May 24 '16 at 12:24
  • @DanHulme So how do I get started with building a package? – user164017 May 25 '16 at 8:08
  • That's a whole separate question, and the process is different for different projects. Additionally, most projects will need source code changes to be able to build for Android, and we can't teach you all of that here: this isn't a programming site, and it's a very broad topic. – Dan Hulme May 25 '16 at 8:10
3

Termux's repository of ARM packages can be found at: termux.net/dists/stable/main/binary-arm/

Additional resources that may be of interest:

  • Can you post the link to the kali linux arm package repo? – user164017 May 6 '16 at 8:19
1

I have added debian arm / Ubuntu package in termux by editing source.list file

you will find it at

/data/data/com.termux/files/usr/etc/apt/

unfortunately I couldn't sign !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.