Benjamin-Loison / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
0 stars 0 forks source link

Investigate root packages #43

Open Benjamin-Loison opened 1 month ago

Benjamin-Loison commented 1 month ago

https://wiki.termux.com/index.php?search=root&go=Go does not seem helpful like https://wiki.termux.com/index.php?title=Graphical_Environment&oldid=6562#Enabling_the_X11_Repository

Wikipedia: Termux#Package repositories (1246508231)

Related to #42.

Benjamin-Loison commented 1 month ago
apt update
Output: ``` Hit:1 https://md.mirrors.hacktegic.com/termux/termux-main stable InRelease Hit:2 https://md.mirrors.hacktegic.com/termux/termux-root root InRelease Hit:3 https://md.mirrors.hacktegic.com/termux/termux-x11 x11 InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. ```

A default setup in practice does not have termux-{root,x11} repositories.

Benjamin-Loison commented 1 month ago
ls ../usr/var/lib/apt/lists/
Output: ``` auxfiles lock md.mirrors.hacktegic.com_termux_termux-main_dists_stable_InRelease md.mirrors.hacktegic.com_termux_termux-main_dists_stable_main_binary-aarch64_Packages md.mirrors.hacktegic.com_termux_termux-root_dists_root_InRelease md.mirrors.hacktegic.com_termux_termux-root_dists_root_stable_binary-aarch64_Packages md.mirrors.hacktegic.com_termux_termux-x11_dists_x11_InRelease md.mirrors.hacktegic.com_termux_termux-x11_dists_x11_main_binary-aarch64_Packages partial ```
Benjamin-Loison commented 1 month ago
grep ^Package: ../usr/var/lib/apt/lists/md.mirrors.hacktegic.com_termux_termux-root_dists_root_stable_binary-aarch64_Packages | uniq
Output: ``` Package: arp-scan Package: authbind Package: avahi Package: avahi-static Package: avrdude Package: bindfs Package: bubblewrap Package: containerd Package: cryptsetup Package: cryptsetup-static Package: dnsmasq Package: docker Package: docker-compose Package: encfs Package: erofs-utils Package: ethtool Package: fio Package: frida Package: frida-dev Package: frida-python Package: gocryptfs Package: gptfdisk Package: hping3 Package: hw-probe Package: hwinfo Package: i2c-tools Package: i2c-tools-static Package: iodine Package: ipset Package: ipset-static Package: iptables Package: iptables-static Package: iw Package: keyutils Package: keyutils-static Package: libaio Package: libaio-static Package: libccid Package: libcryptsetup Package: libcryptsetup-static Package: libdevmapper Package: libdns-sd Package: libdns-sd-static Package: libfuse2 Package: libfuse2-static Package: libfuse3 Package: libnetfilter-queue Package: libnetfilter-queue-static Package: libnfnetlink Package: libnfnetlink-static Package: libpcsclite Package: libpcsclite-static Package: libx86emu Package: lvm2 Package: lxc Package: lxc-static Package: macchanger Package: minikube Package: mtr Package: nethogs Package: nexttrace Package: nexttrace-enhanced Package: nfs-utils Package: nfs-utils-static Package: ntfs-3g Package: ntfs-3g-static Package: open-zwave Package: openvpn Package: pciutils Package: pcscd Package: pixiewps Package: runc Package: squashfuse Package: squashfuse-static Package: sshfs Package: tcpdump Package: tcplay-veracrypt Package: tcplay-veracrypt-static Package: termshark Package: testdisk Package: tinc Package: tshark Package: usbmuxd Package: v4l-utils Package: vlan Package: vnstat Package: vnstati Package: wavemon Package: wireless-tools Package: wireless-tools-static Package: wpa-supplicant Package: zmap ```
su
Output: ``` No su program found on this device. Termux does not supply tools for rooting, see e.g. http://www.androidcentral.com/root for information about rooting Android. ```
sudo
The program sudo is not installed. Install it by executing:
 pkg install tsu