systemd from system:systemd project
選擇您的作業系統
加套件庫並手動安裝
對於 Arch Linux,編輯 /etc/pacman.conf 並加入以下設定 (注意在 pacman.conf 中套件庫的順序是很重要的,因為 pacman 會下載第一個找到的軟體包):
[system_systemd_Arch] Server = https://download.opensuse.org/repositories/system:/systemd/Arch/$arch
然後使用 root 身份執行以下指令
key=$(curl -fsSL https://download.opensuse.org/repositories/system:systemd/Arch/$(uname -m)/system_systemd_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 system_systemd_Arch/systemd
直接抓取二進位套件
加套件庫並手動安裝
需要 Debian Testing ,執行以下:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/system:/systemd/Debian_Testing/ /' | sudo tee /etc/apt/sources.list.d/system:systemd.list curl -fsSL https://download.opensuse.org/repositories/system:systemd/Debian_Testing/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/system_systemd.gpg > /dev/null sudo apt update sudo apt install systemd
需要 Debian 13 ,執行以下:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/system:/systemd/Debian_13/ /' | sudo tee /etc/apt/sources.list.d/system:systemd.list curl -fsSL https://download.opensuse.org/repositories/system:systemd/Debian_13/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/system_systemd.gpg > /dev/null sudo apt update sudo apt install systemd
直接抓取二進位套件
加套件庫並手動安裝
需要 Fedora Rawhide ,用 root 執行:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/system:systemd/Fedora_Rawhide/system:systemd.repo dnf install systemd
需要 Fedora 43 ,用 root 執行:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/system:systemd/Fedora_43/system:systemd.repo dnf install systemd
需要 Fedora 42 ,用 root 執行:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/system:systemd/Fedora_42/system:systemd.repo dnf install systemd
直接抓取二進位套件
加套件庫並手動安裝
需要 Ubuntu 24.04 ,執行以下:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/system:/systemd/Ubuntu_24.04/ /' | sudo tee /etc/apt/sources.list.d/system:systemd.list curl -fsSL https://download.opensuse.org/repositories/system:systemd/Ubuntu_24.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/system_systemd.gpg > /dev/null sudo apt update sudo apt install systemd