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:

| improve this answer | |
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 !

| improve this answer | |
0

The solution: HOWTO install Debian 10 (buster) on your non-rooted Android smartphone

What is it?

In other words: exactly what you are looking for.

Disclaimer: I am hosting that repository.

| improve this answer | |
  • I believe you are hosting that repository as sp4rkie and sparkie seems one and the same. Our site requires disclosure of any affiliation to third-party content, so I went ahead with adding one into the post. – Firelord Mar 26 at 13:38
  • thanks. I'm not hosting that repos. The repos is hosted on github. I simply wrote some lines of code that (accidentally) provide a solution to the question. I hope I must not justify myself for that. – sparkie Mar 26 at 17:23
  • Perhaps not "hosting", but it seems you're the owner of the repo, and that still needs to be explicitly mentioned even though it's on a public, non-profit site like GitHub. – Andrew T. Mar 27 at 3:08

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.