Termux

  • ist eine Android-App und stellt am Smartphone eine Linux-Arbeitsumgebung zur Verfügung, in der auch Perl läuft
  • https://www.perlmonks.org/?node_id=1211709 Termux for all your Perl-needs on Android
  • https://wiki.termux.com/wiki/Remote_Access
    • {Zugriff auf Termux via ftp}?
    • {Zugriff auf Termux via ssh}?
  • $PREFIX
    '/data/data/com.termux/files/usr'
    https://wiki.termux.com/wiki/Package_Management
    The common hardcoded paths are:
    /bin
    /etc
    /sbin
    /tmp
    /usr
    /var
  • Verzeichnisse
    /data/data/com.termux/files/home
    /data/data/com.termux/files/usr
    /data/data/com.termux
    /data/data .............................. permision denied
    /data ................................... permision denied
    / ....................................... permision denied
    /etc
  • Perl installieren
    pkg install perl
  • CPAN installieren
    pkg install make
    pgk install clang
    [download]
  • The Termux-app together with the Termux:API-app
  • Termux offers you to install some symlinks so you can have $HOME on a common directory, like the Downloads directory or something.
  • If you stay within Termux, you can only ever get access to files saved from within Termux, as Android basically runs every app as its own user. If you have root, you can still access other files.
  • You can also install (sort of) linux-distributions. I now have a working apt-get following https://github.com/sp4rkie/debian-on-termux
  • https://wiki.termux.com/wiki/Touch_Keyboard
    • Termux uses the Volume down button to emulate the Ctrl key. For example, pressing VolumeDown + L on a touch keyboard sends the same input as pressing Ctrl+L on a hardware keyboard.
      VolumeDown       ... CTRL
    • Extra Keys Row
      VolumeUp + Q
    • Text Input View
      To access the text input view you have to swipe the extra keys view to the left.
  • pkg install nano
  • ls
    cd
    pwd
    wget
  • https://wiki.termux.com/wiki/Text_Editors
  • https://wiki.termux.com/wiki/Perl

K: Perl, Android, Terminal