sudo -s
passwd
sudo nano /etc/sudoers.d/wheel
%wheel ALL=(ALL) ALL
sudo useradd -m -G wheel -s /bin/bash <user>
sudo passwd <user>
su <user>
sudo nano /etc/pacman.conf
DisableSandbox
[archlinuxcn]
Server = https://repo.archlinuxcn.org/$arch
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
sudo vim /etc/pacman.d/mirrorlist
# Add on top
Server = https://mirrors.ustc.edu.cn/archlinuxarm/$repo/os/$arch
wget http://mirror.archlinuxarm.org/aarch64/core/libssh2-1.11.1-1-aarch64.pkg.tar.xz
mkdir libssh2
tar -xvf libssh2-1.11.1-1-x86_64.pkg.tar.zst -C libssh2
cd libssh2/usr/lib
sudo cp libssh2.so.1.0.1 /usr/lib
sudo pacman -R firefox gimp
sudo pacman -Syyu
# Not recommended
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-git.git
cd yay-git
makepkg -si
# No aarch64 version to fix pacman
git clone https://github.com/chaitanyarahalkar/Pacman-Static
cd Pacman-Static
makepkg -si
./pacman-static -Syyu