Official website of Arch Linux, a lightweight and flexible Linux® distribution that tries to Keep It Simple: https://www.archlinux.org/
Resources
- https://wiki.archlinux.org/index.php/Installation_guide
- https://www.tecmint.com/arch-linux-installation-and-configuration-guide/
root@archiso ~ # pacstrap /mnt base base-devel ==> Creating install root at /mnt ==> Installing packages to /mnt :: Synchronizing package databases... core 133.6 KiB 543K/s 00:00 [################] 100% extra 1634.5 KiB 2.90M/s 00:01 [################] 100% community 4.8 MiB 5.00M/s 00:01 [################] 100% :: There are 50 members in group base: :: Repository core 1) bash 2) bzip2 3) coreutils 4) cryptsetup 5) device-mapper 6) dhcpcd 7) diffutils 8) e2fsprogs 9) file 10) filesystem 11) findutils 12) gawk 13) gcc-libs 14) gettext 15) glibc 16) grep 17) gzip 18) inetutils 19) iproute2 20) iputils 21) jfsutils 22) less 23) licenses 24) linux 25) linux-firmware 26) logrotate 27) lvm2 28) man-db 29) man-pages 30) mdadm 31) nano 32) netctl 33) pacman 34) pciutils 35) perl 36) procps-ng 37) psmisc 38) reiserfsprogs 39) s-nail 40) sed 41) shadow 42) sysfsutils 43) systemd-sysvcompat 44) tar 45) texinfo 46) usbutils 47) util-linux 48) vi 49) which 50) xfsprogs Enter a selection (default=all): :: There are 26 members in group base-devel: :: Repository core 1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) file 7) findutils 8) flex 9) gawk 10) gcc 11) gettext 12) grep 13) groff 14) gzip 15) libtool 16) m4 17) make 18) pacman 19) patch 20) pkgconf 21) sed 22) sudo 23) systemd 24) texinfo 25) util-linux 26) which Enter a selection (default=all): warning: skipping target: file warning: skipping target: findutils warning: skipping target: gawk warning: skipping target: gettext warning: skipping target: grep warning: skipping target: gzip warning: skipping target: pacman warning: skipping target: sed warning: skipping target: texinfo warning: skipping target: util-linux warning: skipping target: which resolving dependencies... :: There are 2 providers available for resolvconf: :: Repository core 1) openresolv 2) systemd-resolvconf Enter a number (default=1): looking for conflicting packages... Packages (155) acl-2.2.53-1 archlinux-keyring-20190123-2 argon2-20171227-3 attr-2.4.48-1 audit-2.8.5-3 ca-certificates-20181109-1 ca-certificates-mozilla-3.44.1-1 ca-certificates-utils-20181109-1 cracklib-2.9.7-1 curl-7.65.1-3 db-5.3.28-4 dbus-1.12.16-1 expat-2.2.6-1 gc-7.6.8-1 gdbm-1.18.1-2 glib2-2.60.4-1 gmp-6.1.2-2 gnupg-2.2.16-1 gnutls-3.6.8-1 gpgme-1.13.1-1 guile-2.2.5-1 hwids-20190316-1 iana-etc-20190531-1 icu-64.2-1 iptables-1:1.8.3-1 json-c-0.13.1-2 kbd-2.0.4-2 keyutils-1.6-1 kmod-26-2 krb5-1.17-1 libaio-0.3.112-1 libarchive-3.4.0-2 libassuan-2.5.3-1 libatomic_ops-7.6.10-1 libcap-2.27-1 libcap-ng-0.7.9-1 libcroco-0.6.13-1 libelf-0.176-1 libffi-3.2.1-3 libgcrypt-1.8.4-1 libgpg-error-1.36-1 libidn2-2.2.0-1 libksba-1.3.5-1 libldap-2.4.47-3 libmnl-1.0.4-2 libmpc-1.1.0-1 libnetfilter_conntrack-1.0.7-1 libnfnetlink-1.0.1-3 libnftnl-1.1.3-1 libnghttp2-1.36.0-1 libnl-3.4.0-1 libpcap-1.9.0-1 libpipeline-1.5.1-1 libpsl-0.21.0-1 libsasl-2.1.27-1 libseccomp-2.4.1-2 libsecret-0.18.8-2 libssh2-1.8.2-1 libtasn1-4.13-1 libtirpc-1.1.4-1 libunistring-0.9.10-1 libusb-1.0.22-1 libutil-linux-2.34-2 libxml2-2.9.9-2 linux-api-headers-5.1-1 lz4-1:1.9.1-1 mkinitcpio-25-2 mkinitcpio-busybox-1.30.1-1 mpfr-4.0.2-1 ncurses-6.1-6 nettle-3.4.1-1 npth-1.6-1 openresolv-3.9.0-2 openssl-1.1.1.c-1 p11-kit-0.23.16.1-1 pacman-mirrorlist-20190614-1 pam-1.3.1-1 pambase-20190105.1-1 pcre-8.43-1 pcre2-10.33-1 pinentry-1.1.0-4 popt-1.16-10 readline-8.0.0-1 sqlite-3.28.0-1 systemd-libs-242.29-2 thin-provisioning-tools-0.8.5-2 tzdata-2019a-1 xz-5.2.4-1 zlib-1:1.2.11-3 zstd-1.4.0-1 autoconf-2.69-5 automake-1.16.1-1 bash-5.0.007-1 binutils-2.32-2 bison-3.3.2-1 bzip2-1.0.6-8 coreutils-8.31-1 cryptsetup-2.1.0-1 device-mapper-2.02.185-1 dhcpcd-7.2.2-1 diffutils-3.7-1 e2fsprogs-1.45.2-1 fakeroot-1.23-1 file-5.37-2 filesystem-2019.05-2 findutils-4.6.0-4 flex-2.6.4-2 gawk-4.2.1-2 gcc-9.1.0-1 gcc-libs-9.1.0-1 gettext-0.19.8.1-3 glibc-2.29-2 grep-3.3-1 groff-1.22.4-1 gzip-1.10-1 inetutils-1.9.4-7 iproute2-5.1.0-1 iputils-20180629.f6aac8d-4 jfsutils-1.1.15-6 less-551-1 libtool-2.4.6+42+gb88cebd5-4 licenses-20181104-1 linux-5.1.14.arch1-1 linux-firmware-20190618.acb56f2-1 logrotate-3.15.0-1 lvm2-2.02.185-1 m4-1.4.18-2 make-4.2.1-3 man-db-2.8.5-2 man-pages-5.01-1 mdadm-4.1-1 nano-4.3-1 netctl-1.20-1 pacman-5.1.3-1 patch-2.7.6-7 pciutils-3.6.2-1 perl-5.30.0-3 pkgconf-1.6.1-1 procps-ng-3.3.15-1 psmisc-23.2-1 reiserfsprogs-3.6.27-2 s-nail-14.9.13-2 sed-4.7-1 shadow-4.6-3 sudo-1.8.27-1 sysfsutils-2.1.0-10 systemd-242.29-2 systemd-sysvcompat-242.29-2 tar-1.32-1 texinfo-6.6-1 usbutils-010-1 util-linux-2.34-2 vi-1:070224-3 which-2.21-3 xfsprogs-4.20.0-2 Total Download Size: 325.31 MiB Total Installed Size: 1304.03 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... linux-api-headers-5... 981.8 KiB 2.11M/s 00:00 [################] 100% tzdata-2019a-1-x86_64 362.2 KiB 5.90M/s 00:00 [################] 100% iana-etc-20190531-1-any 368.9 KiB 6.80M/s 00:00 [################] 100% filesystem-2019.05-... 27.8 KiB 0.00B/s 00:00 [################] 100% glibc-2.29-2-x86_64 9.1 MiB 5.60M/s 00:02 [################] 100% gcc-libs-9.1.0-1-x86_64 22.7 MiB 5.90M/s 00:04 [################] 100% ncurses-6.1-6-x86_64 1066.4 KiB 2.30M/s 00:00 [################] 100% readline-8.0.0-1-x86_64 296.1 KiB 6.73M/s 00:00 [################] 100% bash-5.0.007-1-x86_64 1536.9 KiB 5.28M/s 00:00 [################] 100% bzip2-1.0.6-8-x86_64 53.5 KiB 7.46M/s 00:00 [################] 100% attr-2.4.48-1-x86_64 65.0 KiB 4.89M/s 00:00 [################] 100% acl-2.2.53-1-x86_64 131.9 KiB 3.79M/s 00:00 [################] 100% gmp-6.1.2-2-x86_64 408.1 KiB 5.69M/s 00:00 [################] 100% libcap-2.27-1-x86_64 39.1 KiB 12.7M/s 00:00 [################] 100% gdbm-1.18.1-2-x86_64 160.5 KiB 7.84M/s 00:00 [################] 100% db-5.3.28-4-x86_64 1094.0 KiB 3.27M/s 00:00 [################] 100% perl-5.30.0-3-x86_64 14.2 MiB 5.07M/s 00:03 [################] 100% openssl-1.1.1.c-1-x... 3.4 MiB 5.59M/s 00:01 [################] 100% coreutils-8.31-1-x86_64 2.4 MiB 5.31M/s 00:00 [################] 100% libgpg-error-1.36-1... 195.8 KiB 5.80M/s 00:00 [################] 100% libgcrypt-1.8.4-1-x... 485.7 KiB 3.65M/s 00:00 [################] 100% lz4-1:1.9.1-1-x86_64 105.2 KiB 4.47M/s 00:00 [################] 100% xz-5.2.4-1-x86_64 231.2 KiB 7.52M/s 00:00 [################] 100% systemd-libs-242.29... 394.4 KiB 7.27M/s 00:00 [################] 100% device-mapper-2.02.... 270.0 KiB 7.99M/s 00:00 [################] 100% popt-1.16-10-x86_64 62.8 KiB 997K/s 00:00 [################] 100% libutil-linux-2.34-... 378.3 KiB 6.48M/s 00:00 [################] 100% json-c-0.13.1-2-x86_64 44.8 KiB 10.9M/s 00:00 [################] 100% argon2-20171227-3-x... 31.5 KiB 0.00B/s 00:00 [################] 100% cryptsetup-2.1.0-1-... 392.7 KiB 1476K/s 00:00 [################] 100% expat-2.2.6-1-x86_64 97.7 KiB 13.6M/s 00:00 [################] 100% e2fsprogs-1.45.2-1-... 1074.0 KiB 4.15M/s 00:00 [################] 100% libsasl-2.1.27-1-x86_64 137.1 KiB 5.58M/s 00:00 [################] 100% libldap-2.4.47-3-x86_64 282.5 KiB 7.45M/s 00:00 [################] 100% keyutils-1.6-1-x86_64 84.4 KiB 27.5M/s 00:00 [################] 100% krb5-1.17-1-x86_64 1225.4 KiB 5.62M/s 00:00 [################] 100% libcap-ng-0.7.9-1-x... 36.1 KiB 5.87M/s 00:00 [################] 100% audit-2.8.5-3-x86_64 337.6 KiB 7.17M/s 00:00 [################] 100% dbus-1.12.16-1-x86_64 277.8 KiB 5.77M/s 00:00 [################] 100% libmnl-1.0.4-2-x86_64 10.6 KiB 0.00B/s 00:00 [################] 100% libnftnl-1.1.3-1-x86_64 58.5 KiB 8.16M/s 00:00 [################] 100% libnl-3.4.0-1-x86_64 352.6 KiB 6.50M/s 00:00 [################] 100% libusb-1.0.22-1-x86_64 55.4 KiB 13.5M/s 00:00 [################] 100% libpcap-1.9.0-1-x86_64 233.4 KiB 4.85M/s 00:00 [################] 100% iptables-1:1.8.3-1-... 405.8 KiB 6.95M/s 00:00 [################] 100% zlib-1:1.2.11-3-x86_64 81.3 KiB 7.94M/s 00:00 [################] 100% cracklib-2.9.7-1-x86_64 249.9 KiB 7.40M/s 00:00 [################] 100% libtirpc-1.1.4-1-x86_64 177.5 KiB 7.54M/s 00:00 [################] 100% pambase-20190105.1-... 3.1 KiB 0.00B/s 00:00 [################] 100% pam-1.3.1-1-x86_64 552.8 KiB 1861K/s 00:00 [################] 100% kbd-2.0.4-2-x86_64 1140.9 KiB 3.98M/s 00:00 [################] 100% kmod-26-2-x86_64 113.9 KiB 8.56M/s 00:00 [################] 100% hwids-20190316-1-any 366.5 KiB 1508K/s 00:00 [################] 100% libunistring-0.9.10... 501.7 KiB 2.29M/s 00:00 [################] 100% libidn2-2.2.0-1-x86_64 113.6 KiB 2.77M/s 00:00 [################] 100% libelf-0.176-1-x86_64 368.9 KiB 7.20M/s 00:00 [################] 100% libseccomp-2.4.1-2-... 77.7 KiB 2.92M/s 00:00 [################] 100% shadow-4.6-3-x86_64 1103.8 KiB 4.49M/s 00:00 [################] 100% util-linux-2.34-2-x... 2.1 MiB 4.76M/s 00:00 [################] 100% pcre2-10.33-1-x86_64 1026.3 KiB 2.59M/s 00:00 [################] 100% systemd-242.29-2-x86_64 4.6 MiB 5.82M/s 00:01 [################] 100% dhcpcd-7.2.2-1-x86_64 169.4 KiB 8.27M/s 00:00 [################] 100% diffutils-3.7-1-x86_64 327.1 KiB 6.94M/s 00:00 [################] 100% file-5.37-2-x86_64 292.0 KiB 5.70M/s 00:00 [################] 100% findutils-4.6.0-4-x... 426.6 KiB 2.23M/s 00:00 [################] 100% mpfr-4.0.2-1-x86_64 313.8 KiB 5.78M/s 00:00 [################] 100% gawk-4.2.1-2-x86_64 1047.3 KiB 3.79M/s 00:00 [################] 100% pcre-8.43-1-x86_64 929.2 KiB 3.06M/s 00:00 [################] 100% libffi-3.2.1-3-x86_64 31.8 KiB 0.00B/s 00:00 [################] 100% glib2-2.60.4-1-x86_64 2.4 MiB 5.29M/s 00:00 [################] 100% icu-64.2-1-x86_64 8.8 MiB 5.58M/s 00:02 [################] 100% gettext-0.19.8.1-3-... 1796.9 KiB 5.79M/s 00:00 [################] 100% grep-3.3-1-x86_64 185.4 KiB 6.04M/s 00:00 [################] 100% less-551-1-x86_64 100.9 KiB 2.10M/s 00:00 [################] 100% gzip-1.10-1-x86_64 77.9 KiB 7.61M/s 00:00 [################] 100% inetutils-1.9.4-7-x... 295.0 KiB 7.20M/s 00:00 [################] 100% iproute2-5.1.0-1-x86_64 835.6 KiB 1528K/s 00:01 [################] 100% iputils-20180629.f6... 73.1 KiB 7.13M/s 00:00 [################] 100% jfsutils-1.1.15-6-x... 179.9 KiB 7.64M/s 00:00 [################] 100% licenses-20181104-1-any 67.2 KiB 10.9M/s 00:00 [################] 100% linux-firmware-2019... 79.9 MiB 5.48M/s 00:15 [################] 100% mkinitcpio-busybox-... 252.7 KiB 6.17M/s 00:00 [################] 100% zstd-1.4.0-1-x86_64 375.4 KiB 6.92M/s 00:00 [################] 100% libarchive-3.4.0-2-... 472.2 KiB 3.16M/s 00:00 [################] 100% mkinitcpio-25-2-any 40.1 KiB 1744K/s 00:00 [################] 100% linux-5.1.14.arch1-... 71.6 MiB 5.63M/s 00:13 [################] 100% logrotate-3.15.0-1-... 42.0 KiB 13.7M/s 00:00 [################] 100% libaio-0.3.112-1-x86_64 6.3 KiB 0.00B/s 00:00 [################] 100% thin-provisioning-t... 397.0 KiB 6.46M/s 00:00 [################] 100% lvm2-2.02.185-1-x86_64 1353.4 KiB 4.84M/s 00:00 [################] 100% groff-1.22.4-1-x86_64 2043.9 KiB 6.38M/s 00:00 [################] 100% libpipeline-1.5.1-1... 38.0 KiB 0.00B/s 00:00 [################] 100% man-db-2.8.5-2-x86_64 969.6 KiB 982K/s 00:01 [################] 100% man-pages-5.01-1-any 5.8 MiB 5.62M/s 00:01 [################] 100% mdadm-4.1-1-x86_64 345.2 KiB 899K/s 00:00 [################] 100% nano-4.3-1-x86_64 481.1 KiB 2.35M/s 00:00 [################] 100% openresolv-3.9.0-2-any 21.1 KiB 3.44M/s 00:00 [################] 100% netctl-1.20-1-any 38.7 KiB 3.78M/s 00:00 [################] 100% libtasn1-4.13-1-x86_64 117.1 KiB 3.81M/s 00:00 [################] 100% p11-kit-0.23.16.1-1... 453.4 KiB 3.33M/s 00:00 [################] 100% ca-certificates-uti... 7.9 KiB 0.00B/s 00:00 [################] 100% ca-certificates-moz... 337.3 KiB 11.0M/s 00:00 [################] 100% ca-certificates-201... 2.1 KiB 0.00B/s 00:00 [################] 100% libssh2-1.8.2-1-x86_64 182.9 KiB 5.96M/s 00:00 [################] 100% libpsl-0.21.0-1-x86_64 73.9 KiB 5.55M/s 00:00 [################] 100% libnghttp2-1.36.0-1... 86.7 KiB 12.1M/s 00:00 [################] 100% curl-7.65.1-3-x86_64 984.1 KiB 4.58M/s 00:00 [################] 100% npth-1.6-1-x86_64 13.1 KiB 0.00B/s 00:00 [################] 100% libksba-1.3.5-1-x86_64 116.0 KiB 6.67M/s 00:00 [################] 100% libassuan-2.5.3-1-x... 85.2 KiB 8.32M/s 00:00 [################] 100% libsecret-0.18.8-2-... 196.7 KiB 8.00M/s 00:00 [################] 100% pinentry-1.1.0-4-x86_64 101.1 KiB 6.17M/s 00:00 [################] 100% nettle-3.4.1-1-x86_64 330.4 KiB 6.09M/s 00:00 [################] 100% gnutls-3.6.8-1-x86_64 2.5 MiB 4.97M/s 00:01 [################] 100% sqlite-3.28.0-1-x86_64 1387.9 KiB 2.31M/s 00:01 [################] 100% gnupg-2.2.16-1-x86_64 2.1 MiB 5.25M/s 00:00 [################] 100% gpgme-1.13.1-1-x86_64 410.4 KiB 6.68M/s 00:00 [################] 100% pacman-mirrorlist-2... 5.8 KiB 0.00B/s 00:00 [################] 100% archlinux-keyring-2... 685.1 KiB 2.36M/s 00:00 [################] 100% pacman-5.1.3-1-x86_64 751.1 KiB 1776K/s 00:00 [################] 100% pciutils-3.6.2-1-x86_64 87.0 KiB 6.54M/s 00:00 [################] 100% procps-ng-3.3.15-1-... 339.2 KiB 6.13M/s 00:00 [################] 100% psmisc-23.2-1-x86_64 105.7 KiB 5.16M/s 00:00 [################] 100% reiserfsprogs-3.6.2... 204.3 KiB 5.87M/s 00:00 [################] 100% s-nail-14.9.13-2-x86_64 493.0 KiB 5.60M/s 00:00 [################] 100% sed-4.7-1-x86_64 218.1 KiB 4.84M/s 00:00 [################] 100% sysfsutils-2.1.0-10... 31.4 KiB 10.2M/s 00:00 [################] 100% systemd-sysvcompat-... 7.6 KiB 0.00B/s 00:00 [################] 100% tar-1.32-1-x86_64 743.7 KiB 1859K/s 00:00 [################] 100% texinfo-6.6-1-x86_64 1299.0 KiB 5.01M/s 00:00 [################] 100% usbutils-010-1-x86_64 69.2 KiB 3.38M/s 00:00 [################] 100% vi-1:070224-3-x86_64 152.1 KiB 9.28M/s 00:00 [################] 100% which-2.21-3-x86_64 16.0 KiB 5.20M/s 00:00 [################] 100% xfsprogs-4.20.0-2-x... 923.5 KiB 2.76M/s 00:00 [################] 100% m4-1.4.18-2-x86_64 169.7 KiB 5.52M/s 00:00 [################] 100% autoconf-2.69-5-any 586.7 KiB 2.07M/s 00:00 [################] 100% automake-1.16.1-1-any 598.6 KiB 2.50M/s 00:00 [################] 100% binutils-2.32-2-x86_64 4.8 MiB 4.52M/s 00:01 [################] 100% bison-3.3.2-1-x86_64 603.3 KiB 2.45M/s 00:00 [################] 100% fakeroot-1.23-1-x86_64 66.8 KiB 9.32M/s 00:00 [################] 100% flex-2.6.4-2-x86_64 298.4 KiB 7.28M/s 00:00 [################] 100% libmpc-1.1.0-1-x86_64 64.7 KiB 3.16M/s 00:00 [################] 100% gcc-9.1.0-1-x86_64 33.9 MiB 5.39M/s 00:06 [################] 100% libtool-2.4.6+42+gb... 399.5 KiB 6.84M/s 00:00 [################] 100% make-4.2.1-3-x86_64 412.7 KiB 7.07M/s 00:00 [################] 100% patch-2.7.6-7-x86_64 92.8 KiB 3.94M/s 00:00 [################] 100% pkgconf-1.6.1-1-x86_64 54.4 KiB 17.7M/s 00:00 [################] 100% sudo-1.8.27-1-x86_64 760.7 KiB 2.78M/s 00:00 [################] 100% libnfnetlink-1.0.1-... 16.4 KiB 5.34M/s 00:00 [################] 100% libnetfilter_conntr... 47.5 KiB 4.64M/s 00:00 [################] 100% libxml2-2.9.9-2-x86_64 1268.8 KiB 3.64M/s 00:00 [################] 100% libcroco-0.6.13-1-x... 146.0 KiB 4.75M/s 00:00 [################] 100% libatomic_ops-7.6.1... 63.7 KiB 4.45M/s 00:00 [################] 100% gc-7.6.8-1-x86_64 219.2 KiB 6.30M/s 00:00 [################] 100% guile-2.2.5-1-x86_64 5.6 MiB 5.37M/s 00:01 [################] 100% (155/155) checking keys in keyring [################] 100% (155/155) checking package integrity [################] 100% (155/155) loading package files [################] 100% (155/155) checking for file conflicts [################] 100% :: Processing package changes... ( 1/155) installing linux-api-headers [################] 100% ( 2/155) installing tzdata [################] 100% ( 3/155) installing iana-etc [################] 100% ( 4/155) installing filesystem [################] 100% ( 5/155) installing glibc [################] 100% Optional dependencies for glibc gd: for memusagestat ( 6/155) installing gcc-libs [################] 100% ( 7/155) installing ncurses [################] 100% ( 8/155) installing readline [################] 100% ( 9/155) installing bash [################] 100% Optional dependencies for bash bash-completion: for tab completion ( 10/155) installing bzip2 [################] 100% ( 11/155) installing attr [################] 100% ( 12/155) installing acl [################] 100% ( 13/155) installing gmp [################] 100% ( 14/155) installing libcap [################] 100% ( 15/155) installing gdbm [################] 100% ( 16/155) installing db [################] 100% ( 17/155) installing perl [################] 100% ( 18/155) installing openssl [################] 100% Optional dependencies for openssl ca-certificates [pending] ( 19/155) installing coreutils [################] 100% ( 20/155) installing libgpg-error [################] 100% ( 21/155) installing libgcrypt [################] 100% ( 22/155) installing lz4 [################] 100% ( 23/155) installing xz [################] 100% ( 24/155) installing systemd-libs [################] 100% ( 25/155) installing device-mapper [################] 100% ( 26/155) installing popt [################] 100% ( 27/155) installing libutil-linux [################] 100% ( 28/155) installing json-c [################] 100% ( 29/155) installing argon2 [################] 100% ( 30/155) installing cryptsetup [################] 100% ( 31/155) installing expat [################] 100% ( 32/155) installing e2fsprogs [################] 100% ( 33/155) installing libsasl [################] 100% ( 34/155) installing libldap [################] 100% ( 35/155) installing keyutils [################] 100% ( 36/155) installing krb5 [################] 100% ( 37/155) installing libcap-ng [################] 100% ( 38/155) installing audit [################] 100% ( 39/155) installing dbus [################] 100% ( 40/155) installing libmnl [################] 100% ( 41/155) installing libnftnl [################] 100% ( 42/155) installing libnl [################] 100% ( 43/155) installing libusb [################] 100% ( 44/155) installing libpcap [################] 100% ( 45/155) installing libnfnetlink [################] 100% ( 46/155) installing libnetfilter_conntrack [################] 100% ( 47/155) installing iptables [################] 100% ( 48/155) installing zlib [################] 100% ( 49/155) installing cracklib [################] 100% ( 50/155) installing libtirpc [################] 100% ( 51/155) installing pambase [################] 100% ( 52/155) installing pam [################] 100% ( 53/155) installing kbd [################] 100% ( 54/155) installing kmod [################] 100% ( 55/155) installing hwids [################] 100% ( 56/155) installing libunistring [################] 100% ( 57/155) installing libidn2 [################] 100% ( 58/155) installing libelf [################] 100% ( 59/155) installing libseccomp [################] 100% ( 60/155) installing shadow [################] 100% ( 61/155) installing util-linux [################] 100% Optional dependencies for util-linux python: python bindings to libmount words: default dictionary for look ( 62/155) installing pcre2 [################] 100% ( 63/155) installing systemd [################] 100% Initializing machine ID from random generator. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd, or install systemd-sysvcompat Optional dependencies for systemd libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries [pending] polkit: allow administration as unprivileged user curl: machinectl pull-tar and pull-raw [pending] ( 64/155) installing dhcpcd [################] 100% Optional dependencies for dhcpcd openresolv: resolvconf support [pending] ( 65/155) installing diffutils [################] 100% ( 66/155) installing file [################] 100% ( 67/155) installing findutils [################] 100% ( 68/155) installing mpfr [################] 100% ( 69/155) installing gawk [################] 100% ( 70/155) installing pcre [################] 100% ( 71/155) installing libffi [################] 100% ( 72/155) installing glib2 [################] 100% Optional dependencies for glib2 python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report libelf: gresource inspection tool [installed] ( 73/155) installing icu [################] 100% ( 74/155) installing libxml2 [################] 100% ( 75/155) installing libcroco [################] 100% ( 76/155) installing gettext [################] 100% Optional dependencies for gettext git: for autopoint infrastructure updates ( 77/155) installing grep [################] 100% ( 78/155) installing less [################] 100% ( 79/155) installing gzip [################] 100% ( 80/155) installing inetutils [################] 100% ( 81/155) installing iproute2 [################] 100% Optional dependencies for iproute2 linux-atm: ATM support ( 82/155) installing iputils [################] 100% Optional dependencies for iputils xinetd: for tftpd ( 83/155) installing jfsutils [################] 100% ( 84/155) installing licenses [################] 100% ( 85/155) installing linux-firmware [################] 100% ( 86/155) installing mkinitcpio-busybox [################] 100% ( 87/155) installing zstd [################] 100% ( 88/155) installing libarchive [################] 100% ( 89/155) installing mkinitcpio [################] 100% Optional dependencies for mkinitcpio xz: Use lzma or xz compression for the initramfs image [installed] bzip2: Use bzip2 compression for the initramfs image [installed] lzop: Use lzo compression for the initramfs image lz4: Use lz4 compression for the initramfs image [installed] mkinitcpio-nfs-utils: Support for root filesystem on NFS ( 90/155) installing linux [################] 100% Optional dependencies for linux crda: to set the correct wireless channels of your country ( 91/155) installing logrotate [################] 100% ( 92/155) installing libaio [################] 100% ( 93/155) installing thin-provisioning-tools [################] 100% ( 94/155) installing lvm2 [################] 100% ( 95/155) installing groff [################] 100% Optional dependencies for groff netpbm: for use together with man -H command interaction in browsers psutils: for use together with man -H command interaction in browsers libxaw: for gxditview ( 96/155) installing libpipeline [################] 100% ( 97/155) installing man-db [################] 100% Optional dependencies for man-db gzip [installed] ( 98/155) installing man-pages [################] 100% ( 99/155) installing mdadm [################] 100% (100/155) installing nano [################] 100% (101/155) installing openresolv [################] 100% (102/155) installing netctl [################] 100% Optional dependencies for netctl dialog: for the menu based wifi assistant dhclient: for DHCP support (or dhcpcd) dhcpcd: for DHCP support (or dhclient) [installed] wpa_supplicant: for wireless networking support ifplugd: for automatic wired connections through netctl-ifplugd ppp: for PPP connections openvswitch: for Open vSwitch connections (103/155) installing libtasn1 [################] 100% (104/155) installing p11-kit [################] 100% Created symlink /etc/systemd/user/sockets.target.wants/p11-kit-server.socket → /usr/lib/systemd/user/p11-kit-server.socket. (105/155) installing ca-certificates-utils [################] 100% (106/155) installing ca-certificates-mozilla [################] 100% (107/155) installing ca-certificates [################] 100% (108/155) installing libssh2 [################] 100% (109/155) installing libpsl [################] 100% (110/155) installing libnghttp2 [################] 100% (111/155) installing curl [################] 100% (112/155) installing npth [################] 100% (113/155) installing libksba [################] 100% (114/155) installing libassuan [################] 100% (115/155) installing libsecret [################] 100% Optional dependencies for libsecret gnome-keyring: key storage service, or use any other service implementing org.freedesktop.secrets (116/155) installing pinentry [################] 100% Optional dependencies for pinentry gtk2: gtk2 backend qt5-base: qt backend gcr: gnome3 backend (117/155) installing nettle [################] 100% (118/155) installing gnutls [################] 100% (119/155) installing sqlite [################] 100% (120/155) installing gnupg [################] 100% Optional dependencies for gnupg libldap: gpg2keys_ldap [installed] libusb-compat: scdaemon pcsclite: scdaemon (121/155) installing gpgme [################] 100% (122/155) installing pacman-mirrorlist [################] 100% (123/155) installing archlinux-keyring [################] 100% (124/155) installing pacman [################] 100% Optional dependencies for pacman perl-locale-gettext: translation support in makepkg-template xdelta3: delta support in repo-add (125/155) installing pciutils [################] 100% (126/155) installing procps-ng [################] 100% (127/155) installing psmisc [################] 100% (128/155) installing reiserfsprogs [################] 100% (129/155) installing s-nail [################] 100% Optional dependencies for s-nail smtp-forwarder: for sending mail (130/155) installing sed [################] 100% (131/155) installing sysfsutils [################] 100% (132/155) installing systemd-sysvcompat [################] 100% (133/155) installing tar [################] 100% (134/155) installing texinfo [################] 100% (135/155) installing usbutils [################] 100% Optional dependencies for usbutils python: for lsusb.py usage coreutils: for lsusb.py usage [installed] (136/155) installing vi [################] 100% Optional dependencies for vi s-nail: used by the preserve command for notification [installed] (137/155) installing which [################] 100% (138/155) installing xfsprogs [################] 100% (139/155) installing m4 [################] 100% (140/155) installing autoconf [################] 100% (141/155) installing automake [################] 100% (142/155) installing binutils [################] 100% (143/155) installing bison [################] 100% (144/155) installing fakeroot [################] 100% (145/155) installing flex [################] 100% (146/155) installing libmpc [################] 100% (147/155) installing gcc [################] 100% Optional dependencies for gcc lib32-gcc-libs: for generating code for 32-bit ABI (148/155) installing libtool [################] 100% (149/155) installing libatomic_ops [################] 100% (150/155) installing gc [################] 100% (151/155) installing guile [################] 100% (152/155) installing make [################] 100% (153/155) installing patch [################] 100% Optional dependencies for patch ed: for patch -e functionality (154/155) installing pkgconf [################] 100% (155/155) installing sudo [################] 100% :: Running post-transaction hooks... ( 1/13) Updating linux module dependencies... ( 2/13) Updating linux initcpios... ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default' -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img ==> Starting build: 5.1.14-arch1-1-ARCH -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [autodetect] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img ==> Image generation successful ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback' -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect ==> Starting build: 5.1.14-arch1-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 ==> WARNING: Possibly missing firmware for module: aic94xx -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img ==> Image generation successful ( 3/13) Warn about old perl modules perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MESSAGES = "", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ( 4/13) Updating journal message catalog... ( 5/13) Reloading system manager configuration... Running in chroot, ignoring request: daemon-reload ( 6/13) Updating udev hardware database... ( 7/13) Applying kernel sysctl settings... ( 8/13) Creating system user accounts... ( 9/13) Creating temporary files... (10/13) Reloading device manager configuration... Running in chroot, ignoring request. (11/13) Arming ConditionNeedsUpdate... (12/13) Updating the info directory file... (13/13) Rebuilding certificate stores... pacstrap /mnt base base-devel 148.22s user 97.81s system 73% cpu 5:34.43 total root@archiso ~ #
Generate fstab file
root@archiso ~ # genfstab -U -p /mnt >> /mnt/etc/fstab
root@archiso ~ # arch-chroot /mnt [root@archiso /]# echo "archlinux" > /etc/hostname [root@archiso /]# vi /etc/locale.gen [root@archiso /]# [root@archiso /]# locale-gen Generating locales... en_US.UTF-8... done en_US.ISO-8859-1... done Generation complete. [root@archiso /]# echo LANG=en_US.UTF-8 > /etc/locale.conf [root@archiso /]# export LANG=en_US.UTF-8 [root@archiso /]# ls /usr/share/zoneinfo/Asia Aden Chongqing Jerusalem Novokuznetsk Tashkent Almaty Chungking Kabul Novosibirsk Tbilisi Amman Colombo Kamchatka Omsk Tehran Anadyr Dacca Karachi Oral Tel_Aviv Aqtau Damascus Kashgar Phnom_Penh Thimbu Aqtobe Dhaka Kathmandu Pontianak Thimphu Ashgabat Dili Katmandu Pyongyang Tokyo Ashkhabad Dubai Khandyga Qatar Tomsk Atyrau Dushanbe Kolkata Qostanay Ujung_Pandang Baghdad Famagusta Krasnoyarsk Qyzylorda Ulaanbaatar Bahrain Gaza Kuala_Lumpur Rangoon Ulan_Bator Baku Harbin Kuching Riyadh Urumqi Bangkok Hebron Kuwait Saigon Ust-Nera Barnaul Ho_Chi_Minh Macao Sakhalin Vientiane Beirut Hong_Kong Macau Samarkand Vladivostok Bishkek Hovd Magadan Seoul Yakutsk Brunei Irkutsk Makassar Shanghai Yangon Calcutta Istanbul Manila Singapore Yekaterinburg Chita Jakarta Muscat Srednekolymsk Yerevan Choibalsan Jayapura Nicosia Taipei [root@archiso /]# [root@archiso /]# ls -s /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime 0 /etc/localtime 4 /usr/share/zoneinfo/Asia/Ho_Chi_Minh [root@archiso /]# [root@archiso /]# vi /etc/pacman.conf [root@archiso /]# pacman -Syu :: Synchronizing package databases... core 133.6 KiB 477K/s 00:00 [################] 100% extra 1634.5 KiB 2.63M/s 00:01 [################] 100% community 4.8 MiB 6.04M/s 00:01 [################] 100% :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Packages (3) systemd-242.29-3 systemd-libs-242.29-3 systemd-sysvcompat-242.29-3 Total Download Size: 5.00 MiB Total Installed Size: 22.34 MiB Net Upgrade Size: -0.06 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... systemd-libs-242.29... 413.0 KiB 5.31M/s 00:00 [################] 100% systemd-242.29-3-x86_64 4.6 MiB 4.98M/s 00:01 [################] 100% systemd-sysvcompat-... 7.6 KiB 0.00B/s 00:00 [################] 100% (3/3) checking keys in keyring [################] 100% (3/3) checking package integrity [################] 100% (3/3) loading package files [################] 100% (3/3) checking for file conflicts [################] 100% (3/3) checking available disk space [################] 100% :: Processing package changes... (1/3) upgrading systemd-libs [################] 100% (2/3) upgrading systemd [################] 100% Running in chroot, ignoring request: daemon-reexec (3/3) upgrading systemd-sysvcompat [################] 100% :: Running post-transaction hooks... (1/9) Updating linux initcpios... ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default' -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img ==> Starting build: 5.1.14-arch1-1-ARCH -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [autodetect] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img ==> Image generation successful ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback' -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect ==> Starting build: 5.1.14-arch1-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 ==> WARNING: Possibly missing firmware for module: aic94xx -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img ==> Image generation successful (2/9) Updating journal message catalog... (3/9) Reloading system manager configuration... Running in chroot, ignoring request: daemon-reload (4/9) Updating udev hardware database... (5/9) Applying kernel sysctl settings... (6/9) Creating system user accounts... (7/9) Creating temporary files... (8/9) Reloading device manager configuration... Running in chroot, ignoring request. (9/9) Arming ConditionNeedsUpdate... [root@archiso /]# [root@archiso /]# [root@archiso /]# passwd New password: Retype new password: passwd: password updated successfully [root@archiso /]# useradd -mg users -G wheel,storage,power -s /bin/bash tuyen [root@archiso /]# passwd tuyen New password: Retype new password: passwd: password updated successfully [root@archiso /]# chage -d 0 tuyen [root@archiso /]# [root@archiso /]# sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
[root@archiso /]# pacman -S grub efibootmgr dosfstools os-prober mtools resolving dependencies... looking for conflicting packages... Packages (6) efivar-37-1 dosfstools-4.1-2 efibootmgr-16-1 grub-2:2.02-8 mtools-4.0.23-1 os-prober-1.76-1 Total Download Size: 6.33 MiB Total Installed Size: 31.05 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... grub-2:2.02-8-x86_64 6.0 MiB 2.43M/s 00:02 [################] 100% efivar-37-1-x86_64 97.5 KiB 4.14M/s 00:00 [################] 100% efibootmgr-16-1-x86_64 19.3 KiB 6.30M/s 00:00 [################] 100% dosfstools-4.1-2-x86_64 58.0 KiB 2.83M/s 00:00 [################] 100% mtools-4.0.23-1-x86_64 186.3 KiB 2.60M/s 00:00 [################] 100% os-prober-1.76-1-x86_64 16.8 KiB 5.47M/s 00:00 [################] 100% (6/6) checking keys in keyring [################] 100% (6/6) checking package integrity [################] 100% (6/6) loading package files [################] 100% (6/6) checking for file conflicts [################] 100% (6/6) checking available disk space [################] 100% :: Processing package changes... (1/6) installing grub [################] 100% Generate your bootloader configuration with: grub-mkconfig -o /boot/grub/grub.cfg Optional dependencies for grub freetype2: For grub-mkfont usage fuse2: For grub-mount usage dosfstools: For grub-mkrescue FAT FS and EFI support [pending] efibootmgr: For grub-install EFI support [pending] libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue os-prober: To detect other OSes when generating grub.cfg in BIOS systems [pending] mtools: For grub-mkrescue FAT FS support [pending] (2/6) installing efivar [################] 100% (3/6) installing efibootmgr [################] 100% (4/6) installing dosfstools [################] 100% (5/6) installing os-prober [################] 100% (6/6) installing mtools [################] 100% Optional dependencies for mtools libx11: required by floppyd libsm: required by floppyd :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating the info directory file... [root@archiso /]# [root@archiso /]# mkdir -v /boot/EFI mkdir: created directory '/boot/EFI' [root@archiso /]# mount /dev/sda1 /boot/EFI [root@archiso /]# grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck Installing for x86_64-efi platform. Installation finished. No error reported. [root@archiso /]# [root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-linux Found initrd image: /boot/initramfs-linux.img Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img done [root@archiso /]# [root@archiso /]# exit exit arch-chroot /mnt 34.29s user 18.41s system 1% cpu 45:39.77 total root@archiso ~ # umount -a umount: /run/user/1000: target is busy. umount: /run/user/0: target is busy. umount: /etc/pacman.d/gnupg: target is busy. umount: /sys/fs/cgroup/memory: target is busy. umount: /sys/fs/cgroup/unified: target is busy. umount: /sys/fs/cgroup: target is busy. umount: /run/archiso/bootmnt: target is busy. umount: /run: target is busy. umount: /dev: target is busy. 32 root@archiso ~ # 32 root@archiso ~ # telinit 6
Arch Linux cannot get IP Address from DHCP Server: Enable 'dhcpcd' service starting when booting the system
[root@archlinux ~]# systemctl enable dhcpcd
Install openssh
[root@archlinux ~]# pacman -S openssh [root@archlinux ~]# systemctl start sshd [root@archlinux ~]# systemctl enable sshd
Query installed packages with version
[tuyendq@archlinux ~]# sudo pacman -Qe
Query installed packages without version
[tuyendq@archlinux ~]# sudo pacman -Qqe
Install 'lsof'
[tuyendq@archlinux ~]$ sudo pacman -S lsof [sudo] password for tuyendq: resolving dependencies... looking for conflicting packages... Packages (1) lsof-4.91-1 Total Download Size: 0.10 MiB Total Installed Size: 0.23 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... lsof-4.91-1-x86_64 106.9 KiB 93.3K/s 00:01 [################] 100% (1/1) checking keys in keyring [################] 100% (1/1) checking package integrity [################] 100% (1/1) loading package files [################] 100% (1/1) checking for file conflicts [################] 100% (1/1) checking available disk space [################] 100% :: Processing package changes... (1/1) installing lsof [################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [tuyendq@archlinux ~]$ sudo lsof -i TCP
Install 'linux-headers' to build modules
[tuyendq@archlinux hello-4]$ sudo pacman -S linux-headers resolving dependencies... looking for conflicting packages... Packages (1) linux-headers-5.1.11.arch1-1 Total Download Size: 17.39 MiB Total Installed Size: 99.64 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... linux-headers-5.1.1... 17.4 MiB 1192K/s 00:15 [####################] 100% (1/1) checking keys in keyring [####################] 100% (1/1) checking package integrity [####################] 100% (1/1) loading package files [####################] 100% (1/1) checking for file conflicts [####################] 100% (1/1) checking available disk space [####################] 100% :: Processing package changes... (1/1) installing linux-headers [####################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [tuyendq@archlinux hello-4]$
Install package from url, for example, install a specific linux-header-4.19.8.arch1-1-x86_64.pkg.tar.xz
[tuyendq@archlinux hello-4]$ sudo pacman -U http://mirrors.aggregate.org/archlinux/core/os/x86_64/linux-headers-4.19.8.arch1-1-x86_64.pkg.tar.xz linux-headers-4.19.8.arch1-1-x86_64 17.0 MiB 14.0K/s 20:46 [########################################################] 100% linux-headers-4.19.8.arch1-1-x86_64.sig 310.0 B 0.00B/s 00:00 [########################################################] 100%loading packages... warning: downgrading package linux-headers (5.1.11.arch1-1 => 4.19.8.arch1-1) resolving dependencies... looking for conflicting packages... Packages (1) linux-headers-4.19.8.arch1-1 Total Installed Size: 97.86 MiB Net Upgrade Size: -1.78 MiB :: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [########################################################] 100%(1/1) checking package integrity [########################################################] 100%(1/1) loading package files [########################################################] 100%(1/1) checking for file conflicts [########################################################] 100%(1/1) checking available disk space [########################################################] 100%:: Processing package changes... (1/1) downgrading linux-headers [####################] 100% [###################-------------------------------------] 34% :: Running post-transaction hooks... (1/2) Updating linux module dependencies... (2/2) Arming ConditionNeedsUpdate... [tuyendq@archlinux hello-4]$