• hexagonwin@lemmy.today
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 days ago

    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.

    • Auster@thebrainbin.org
      link
      fedilink
      arrow-up
      1
      ·
      11 days ago

      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.

      • hexagonwin@lemmy.today
        link
        fedilink
        arrow-up
        1
        ·
        8 days 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.