libmad from home:rncbc:libs project
選擇您的作業系統
加套件庫並手動安裝
對於 Arch Linux,編輯 /etc/pacman.conf 並加入以下設定 (注意在 pacman.conf 中套件庫的順序是很重要的,因為 pacman 會下載第一個找到的軟體包):
[home_rncbc_libs_Arch] Server = https://download.opensuse.org/repositories/home:/rncbc:/libs/Arch/$arch
然後使用 root 身份執行以下指令
key=$(curl -fsSL https://download.opensuse.org/repositories/home:rncbc:libs/Arch/$(uname -m)/home_rncbc_libs_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_rncbc_libs_Arch/libmad
直接抓取二進位套件
加套件庫並手動安裝
需要 Fedora 43 ,用 root 執行:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:rncbc:libs/Fedora_43/home:rncbc:libs.repo dnf install libmad
需要 Fedora 42 ,用 root 執行:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:rncbc:libs/Fedora_42/home:rncbc:libs.repo dnf install libmad
直接抓取二進位套件
加套件庫並手動安裝
需要 openSUSE Tumbleweed ,用 root 執行:
zypper addrepo https://download.opensuse.org/repositories/home:rncbc:libs/openSUSE_Tumbleweed/home:rncbc:libs.repo zypper refresh zypper install libmad
需要 openSUSE Slowroll ,用 root 執行:
zypper addrepo https://download.opensuse.org/repositories/home:rncbc:libs/openSUSE_Slowroll/home:rncbc:libs.repo zypper refresh zypper install libmad
需要 openSUSE Leap 15.2 ,用 root 執行:
zypper addrepo https://download.opensuse.org/repositories/home:rncbc:libs/openSUSE_Leap_15.2/home:rncbc:libs.repo zypper refresh zypper install libmad