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

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