all 4 comments

sorted by: hot top controversial new old
[–] 1 point 2 months ago (1 child)

Tutorial, I can't remember, but I do remember some pointers:

  • Termux first needs the phone to be rooted to properly interact with anything outside of its $HOME, including Android's user's internal storage and SD card
  • Iirc Termux lists useful packages in its default text, including the one for being able to interact with root
  • Termux is a Linux distro heavily adapted to work as an Android program, but that makes commands familiar; if you used Debian, Ubuntu, Mint, etc., commands follow the same structure as apt's, but using pkg instead
  • source
  • hideshow 2 child comments
  • [–] 1 point 2 months ago* (1 child)

    Termux first needs the phone to be rooted to properly interact with anything outside of its $HOME, including Android's user's internal storage and SD card

    this is false, termux does not need root for most things including accessing internal storage (/sdcard)

    Termux is a Linux distro heavily adapted to work as an Android program, but that makes commands familiar; if you used Debian, Ubuntu, Mint, etc., commands follow the same structure as apt's, but using pkg instead

    this is also not true, it's not a linux distro, it's just *nixy tools natively compiled for android. thus for example it uses android native libc. apt command also still works on termux, as pkg is a wrapper around apt.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 months ago (1 child)

    Went to double-check both things.

    About root, I think I got it confused with two different things at the same time, termux-setup-storage, and the external storage specifically requiring root to work (first paragraph after the data table).

    About (not) being a Linux distro, reading deeper into it, it sounds a lot like DOSBox, which is also a terminal emulator which can run programs for the system it pretends to be while using the host system's file system.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 months ago

    kinda a small nitpick but it's not really like dosbox, dosbox is a full x86 emulator.

    termux is basically a terminal emulator (like xterm, konsole, alacritty) that comes with unixy tools compiled in the native android toolchain.

  • source
  • parent