Coder Social home page Coder Social logo

Comments (5)

GuzioMG avatar GuzioMG commented on July 23, 2024

When it comes to your second problem:

  • use pkg install <package name>, ...upgade, ...remove (name) or ...search (query). No need for pkg update, since updates are automatic. Do NOT run this with root/sudo permissions.
  • sudo does not exist here (maybe unless you rooted your device, but I didn't root, so I don't know). If you really want to run a command as sudo, use proot -0 instead, although it's not a real root, so some very-root apps can crash, if you use that.
  • Although you should use pkg, apt exists and does not require root/sudo permissions here.
  • yum does not exist. This terminal is (very slightly) Ubuntu-like.

from termux-java.

GuzioMG avatar GuzioMG commented on July 23, 2024

Also, the killed problem is already traced on #7. So I think you can close this issue now. But do whatever you want.

from termux-java.

hessam94 avatar hessam94 commented on July 23, 2024

When it comes to your second problem:

  • use pkg install <package name>, ...upgade, ...remove (name) or ...search (query). No need for pkg update, since updates are automatic. Do NOT run this with root/sudo permissions.
  • sudo does not exist here (maybe unless you rooted your device, but I didn't root, so I don't know). If you really want to run a command as sudo, use proot -0 instead, although it's not a real root, so some very-root apps can crash, if you use that.
  • Although you should use pkg, apt exists and does not require root/sudo permissions here.
  • yum does not exist. This terminal is (very slightly) Ubuntu-like.

Thanks for your response. I need to install some packages form linux, but it seems there are only a few limited packages are provided in your https://dl.bintray.com/grimler/ webpage. is that right? Hoe can i install other packages? do i need another terminal emulator? thanks

from termux-java.

GuzioMG avatar GuzioMG commented on July 23, 2024

it seems there are only a few limited packages are provided in your https://dl.bintray.com/grimler/ webpage. is that right?

On https://dl.bintray.com/grimler/ you have additional repositories (which are also installed as regular packages, btw). If you want a list of all packages you can install, either type pkg list-all or (if you really want a link for some reason) go to https://github.com/termux/termux-packages/tree/master/packages instead.

Thanks for your response. I need to install some packages form Linux, but it seems there are only a few limited packages are provided in your https://dl.bintray.com/grimler/ webpage. is that right? Hoe can I install other packages? do I need another terminal emulator? thanks

If your package is not included in the main repo, you can try installing those from https://dl.bintray.com/grimler/ as is they were regular packages (i. e. pkg install <package (in this case repository) name>). After that, pkg list-all will include packages from added repos, too.

If you still can't find your desired package, try installing its-pointless repo by running

curl -LO https://its-pointless.github.io/setup-pointless-repo.sh

bash setup-pointless-repo.sh

If it does not work, your last resort is using dpkg -i ./<package name>.deb to install a DEB package, but make sure you've downloaded a package for your CPU architecture. Most packages you find online are going to be for x86 architecture. Make sure, you're downloading for YOUR REVISION of ARM architecture.

from termux-java.

hessam94 avatar hessam94 commented on July 23, 2024

thank you very much for your kind help. Actually i am installing docker on android. I got docker binaries and extract/install it well. docker --version work correctly. But any other docker command does not work. anyway. after lots of search it seems these packages are not installed and I don't know how to get it. I could get docker binaries via adb shell and root.
1- systemctl 2-systemd
after "systemctl status docker" it shows me "systemctl not found"
1- how can i install systemctl. i searched but couldnt solved it on tremux and android. even systemd not found. it seems i need it to start docker deamon

from termux-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.