用termux proot安装ubuntu。
安装
~ $ proot-distro install ubuntu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| [*] Installing Ubuntu (24.04)... [*] Creating directory '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu'... [*] Creating directory '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/.l2s'... [*] Downloading rootfs tarball... [*] URL: https:
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24.3M 100 24.3M 0 0 121k 0 0:03:24 0:03:24 --:--:-- 125k
[*] Checking integrity, please wait... [*] Extracting rootfs, please wait... [*] Writing file '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/environment'... [*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/bash.bashrc' if needed... [*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/profile' if needed... [*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/login.defs' if needed... [*] Creating file '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/resolv.conf'... [*] Creating file '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/hosts'... [*] Registering Android-specific UIDs and GIDs... [*] Running distribution-specific configuration steps... Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. [*] Finished.
Log in with: proot-distro login ubuntu
|