Welcome to Termux! Wiki: https://wiki.termux.com Community forum: https://termux.com/community IRC channel: #termux on freenode Gitter chat: https://gitter.im/termux/termux Mailing list: termux+subscribe@groups.io $ bash ~/storage/downloads/setupTermuxArch.sh 🕛 < 🕛 This setup script will attempt to set Arch Linux up in your Termux environment. When successfully completed, you will be enjoying the bash prompt in Arch Linux in Termux on your smartphone or tablet. If you do not see 🕐 one o'clock below, check your Internet connection and run this script again. Selecting previously unselected package bsdtar. (Reading database ... 12571 files and directories currently installed.) Preparing to unpack .../bsdtar_3.3.2_aarch64.deb ... Unpacking bsdtar (3.3.2) ... Setting up bsdtar (3.3.2) ... Processing triggers for man (1.14.3-1) ... 🕧 < 🕛 Termux package requirements for Arch Linux: OK setupTermuxArch. 100%[=======>] 6.84K --.-KB/s in 0.001s setupTermuxArch. 100%[=======>] 57 --.-KB/s in 0s setupTermuxArch.tar.gz: OK 🕐 < 🕛 Installation script download: OK archsystemconfigs.sh: OK knownconfigurations.sh: OK necessaryfunctions.sh: OK printoutstatements.sh: OK setupTermuxArch.sh: OK 🕜 < 🕛 Installation script integrity: OK 🕑 < 🕛 Detected aarch64 Android Operating System. 🕝 < 🕛 Activating termux-wake-lock. Now downloading ArchLinuxARM-aarch64-latest.tar.gz and the corresponding checksum. This may take a long time depending on your Internet connection. ArchLinuxARM-aar 100%[=======>] 361.31M 1.80MB/s in 2m 38s ArchLinuxARM-aar 100%[=======>] 69 --.-KB/s in 0s 🕠 < 🕛 Checking download integrity with md5sum. This may take a little while. ArchLinuxARM-aarch64-latest.tar.gz: OK 🕕 < 🕛 Downloaded files integrity: OK 🕡 < 🕛 Now uncompressing ArchLinuxARM-aarch64-latest.tar.gz. This will take much longer! Be patient. 🕙 < 🕛 Your Arch Linux in Termux is installed! Please answer the following questions to complete the Arch Linux configuration. Do you want to use `nano` or `vi` to edit your Arch Linux configuration files [n|v]? v Would you like to run `locale-gen` to generate the en_US.UTF-8 locale or do you want to edit /etc/locale.gen specifying your preferred language before running `locale-gen`? Answer run or edit [r|e]. e :: Synchronizing package databases... core 186.4 KiB 1695K/s 00:00 [#######] 100% extra 2.3 MiB 3.55M/s 00:01 [#######] 100% community 3.9 MiB 2.88M/s 00:01 [#######] 100% alarm 43.3 KiB 618K/s 00:00 [#######] 100% aur is up to date warning: sed-4.4-1 is up to date -- reinstalling warning: nano-2.9.2-1 is up to date -- reinstalling :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Packages (25) argon2-20171227-3 ca-certificates-mozilla-3.35-1 coreutils-8.29-1 cryptsetup-2.0.1-1 e2fsprogs-1.43.8-1 gcc-libs-7.2.1+20171224-2 glib2-2.54.3+2+g94b38beff-1 glibc-2.26-10 gnutls-3.5.17-1 gpm-1.20.7-8 libseccomp-2.3.2-2 libsystemd-236.81-1 libtasn1-4.13-1 linux-aarch64-4.14.14-1 linux-api-headers-4.14.8-1 linux-firmware-20180119.2a713be-1 netctl-1.15-1 openssh-7.6p1-2 systemd-236.81-1 systemd-sysvcompat-236.81-1 vim-runtime-8.0.1415-2 xfsprogs-4.14.0-1 nano-2.9.2-1 sed-4.4-1 vim-8.0.1415-2 Total Download Size: 172.94 MiB Total Installed Size: 594.43 MiB Net Upgrade Size: 53.91 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... linux-api-headers-4... 909.4 KiB 1749K/s 00:01 [#######] 100% glibc-2.26-10-aarch64 8.2 MiB 2.61M/s 00:03 [#######] 100% sed-4.4-1-aarch64 165.6 KiB 1506K/s 00:00 [#######] 100% gcc-libs-7.2.1+2017... 16.9 MiB 3.12M/s 00:05 [#######] 100% nano-2.9.2-1-aarch64 420.0 KiB 2.41M/s 00:00 [#######] 100% libsystemd-236.81-1... 291.3 KiB 2.03M/s 00:00 [#######] 100% gpm-1.20.7-8-aarch64 128.1 KiB 1423K/s 00:00 [#######] 100% coreutils-8.29-1-aa... 2.1 MiB 2.84M/s 00:01 [#######] 100% libtasn1-4.13-1-aarch64 113.8 KiB 599K/s 00:00 [#######] 100% ca-certificates-moz... 329.9 KiB 1222K/s 00:00 [#######] 100% argon2-20171227-3-a... 29.0 KiB 726K/s 00:00 [#######] 100% cryptsetup-2.0.1-1-... 325.1 KiB 1625K/s 00:00 [#######] 100% e2fsprogs-1.43.8-1-... 955.1 KiB 2.52M/s 00:00 [#######] 100% glib2-2.54.3+2+g94b... 2.2 MiB 2.50M/s 00:01 [#######] 100% gnutls-3.5.17-1-aarch64 2.2 MiB 2.29M/s 00:01 [#######] 100% libseccomp-2.3.2-2-... 68.6 KiB 857K/s 00:00 [#######] 100% linux-firmware-2018... 68.3 MiB 709K/s 01:39 [#######] 100% systemd-236.81-1-aa... 4.1 MiB 562K/s 00:08 [#######] 100% linux-aarch64-4.14.... 57.4 MiB 603K/s 01:37 [#######] 100% netctl-1.15-1-any 38.9 KiB 973K/s 00:00 [#######] 100% openssh-7.6p1-2-aarch64 675.3 KiB 2.27M/s 00:00 [#######] 100% systemd-sysvcompat-... 6.7 KiB 0.00B/s 00:00 [#######] 100% xfsprogs-4.14.0-1-a... 790.1 KiB 627K/s 00:01 [#######] 100% vim-runtime-8.0.141... 5.3 MiB 2.98M/s 00:02 [#######] 100% vim-8.0.1415-2-aarch64 1223.3 KiB 2.60M/s 00:00 [#######] 100% (25/25) checking keys in keyring [#######] 100% (25/25) checking package integrity [#######] 100% (25/25) loading package files [#######] 100% (25/25) checking for file conflicts [#######] 100% (25/25) checking available disk space [#######] 100% :: Processing package changes... ( 1/25) upgrading linux-api-headers [#######] 100% ( 2/25) upgrading glibc [#######] 100% Generating locales... de_DE.UTF-8... done de_DE.ISO-8859-1... done en_US.UTF-8... done Generation complete. ( 3/25) reinstalling sed [#######] 100% ( 4/25) upgrading gcc-libs [#######] 100% ( 5/25) reinstalling nano [#######] 100% ( 6/25) installing vim-runtime [#######] 100% ( 7/25) upgrading libsystemd [#######] 100% ( 8/25) installing gpm [#######] 100% ( 9/25) installing vim [#######] 100% Optional dependencies for vim python2: Python 2 language support python: Python 3 language support ruby: Ruby language support lua: Lua language support perl: Perl language support [installed] tcl: Tcl language support (10/25) upgrading coreutils [#######] 100% (11/25) upgrading libtasn1 [#######] 100% (12/25) upgrading ca-certificates-mozilla [#######] 100% (13/25) installing argon2 [#######] 100% (14/25) upgrading cryptsetup [#######] 100% (15/25) upgrading e2fsprogs [#######] 100% (16/25) upgrading glib2 [#######] 100% (17/25) upgrading gnutls [#######] 100% (18/25) upgrading libseccomp [#######] 100% (19/25) upgrading linux-firmware [#######] 100% (20/25) upgrading systemd [#######] 100% (21/25) upgrading linux-aarch64 [#######] 100% >>> Updating module dependencies. Please wait ... (22/25) upgrading netctl [#######] 100% (23/25) upgrading openssh [#######] 100% (24/25) upgrading systemd-sysvcompat [#######] 100% (25/25) upgrading xfsprogs [#######] 100% :: Running post-transaction hooks... (1/7) Updating linux-aarch64 initcpios ==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'default' -> -k 4.14.14-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img ==> Starting build: 4.14.14-1-ARCH -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [autodetect] find: ‘/sys/devices’: Permission denied modprobe: ERROR: missing parameters. See -h. -> Running build hook: [modconf] -> Running build hook: [block] ==> WARNING: Possibly missing firmware for module: wd719x -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> ERROR: file not found: `fsck.rootfs' ==> WARNING: No fsck helpers found. fsck will not be run on boot. /usr/lib/initcpio/functions: line 636: /dev/stdin: No such file or directory ==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img ==> WARNING: errors were encountered during the build. The image may not be complete. ==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'fallback' -> -k 4.14.14-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect ==> Starting build: 4.14.14-1-ARCH -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [modconf] -> Running build hook: [block] ==> WARNING: Possibly missing firmware for module: wd719x -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] /usr/lib/initcpio/functions: line 636: /dev/stdin: No such file or directory ==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img ==> Image generation successful error: command failed to execute correctly (2/7) Updating udev hardware database... (3/7) Updating system user accounts... (4/7) Creating temporary files... (5/7) Arming ConditionNeedsUpdate... (6/7) Updating the info directory file... (7/7) Rebuilding certificate stores... Generating locales... de_DE.UTF-8... done de_DE.ISO-8859-1... done en_US.UTF-8... done Generation complete. 🕥 < 🕛 Use ./arch/startarch from your $HOME directory to launch Arch Linux in Termux for future sessions. Alternatively copy startarch to your $PATH which is, "/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets". 🕚 < 🕛 Copy `startarch` to your `$PATH`? [y|n] y 🕦 < 🕛 Copied startarch to /data/data/com.termux/files/usr/bin. 🕛 = 🕛 Termux-wake-lock released. Your Arch Linux in Termux is installed and updated. Use `tzselect` to assit in setting your time zone. See https://github.com/sdrausty/TermuxArch/issues/25 "Starting Arch Linux from Termux?" for more information. Welcome to Arch Linux in Termux! Enjoy! Chat: https://gitter.im/termux/termux/ Help: info and man Portal: https://wiki.termux.com/wiki/Community Install a package: pacman -S More information: pacman [-D|F|Q|R|S|T|U] --help Search packages: pacman -Ss Upgrade packages: pacman -Syu [18:36 home ]$ tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent, ocean, "coord", or "TZ". 1) Africa ...