knot from home:CZ-NIC:knot-dns-devel project
選擇您的作業系統
加套件庫並手動安裝
對於 Arch Linux,編輯 /etc/pacman.conf 並加入以下設定 (注意在 pacman.conf 中套件庫的順序是很重要的,因為 pacman 會下載第一個找到的軟體包):
[home_CZ-NIC_knot-dns-devel_Arch] Server = https://download.opensuse.org/repositories/home:/CZ-NIC:/knot-dns-devel/Arch/$arch
然後使用 root 身份執行以下指令
key=$(curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/Arch/$(uname -m)/home_CZ-NIC_knot-dns-devel_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_CZ-NIC_knot-dns-devel_Arch/knot
直接抓取二進位套件
加套件庫並手動安裝
需要 CentOS 8 EPEL ,用 root 執行:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/CentOS_8_EPEL/home:CZ-NIC:knot-dns-devel.repo yum install knot
需要 CentOS 7 EPEL ,用 root 執行:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/CentOS_7_EPEL/home:CZ-NIC:knot-dns-devel.repo yum install knot
直接抓取二進位套件
加套件庫並手動安裝
需要 Debian 9.0 ,執行以下:
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/home:/CZ-NIC:/knot-dns-devel/Debian_9.0/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/Debian_9.0/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot
需要 Debian 11 ,執行以下:
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/home:/CZ-NIC:/knot-dns-devel/Debian_11/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/Debian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot
需要 Debian 10 ,執行以下:
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/home:/CZ-NIC:/knot-dns-devel/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/Debian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot
直接抓取二進位套件
加套件庫並手動安裝
需要 xUbuntu 22.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/home:/CZ-NIC:/knot-dns-devel/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot
需要 xUbuntu 21.10 ,執行以下:
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/home:/CZ-NIC:/knot-dns-devel/xUbuntu_21.10/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/xUbuntu_21.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot
需要 xUbuntu 20.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/home:/CZ-NIC:/knot-dns-devel/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot
需要 xUbuntu 18.04 Ports ,執行以下:
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/home:/CZ-NIC:/knot-dns-devel/xUbuntu_18.04_Ports/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/xUbuntu_18.04_Ports/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot
需要 xUbuntu 18.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/home:/CZ-NIC:/knot-dns-devel/xUbuntu_18.04/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-dns-devel.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-dns-devel/xUbuntu_18.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-dns-devel.gpg > /dev/null sudo apt update sudo apt install knot