rpi-imager from home:alesar1 project

選擇您的作業系統

對於 Arch Linux,編輯 /etc/pacman.conf 並加入以下設定 (注意在 pacman.conf 中套件庫的順序是很重要的,因為 pacman 會下載第一個找到的軟體包):
[home_alesar1_Arch]
Server = https://download.opensuse.org/repositories/home:/alesar1/Arch/$arch
然後使用 root 身份執行以下指令
key=$(curl -fsSL https://download.opensuse.org/repositories/home:alesar1/Arch/$(uname -m)/home_alesar1_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')

pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"

pacman -Sy home_alesar1_Arch/rpi-imager