knot-resolver from home:CZ-NIC:knot-resolver-testing project
选择您的操作系统
添加软件源并手动安装
对于 Arch Linux,请编辑 /etc/pacman.conf 并添加以下内容(注意 pacman.conf 中的软件源顺序是很重要的,因为 pacman 总是会下载第一个找到的软件包):
[home_CZ-NIC_knot-resolver-testing_Arch] Server = https://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-testing/Arch/$arch
然后以 root 身份运行以下命令
key=$(curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/Arch/$(uname -m)/home_CZ-NIC_knot-resolver-testing_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-resolver-testing_Arch/knot-resolver
直接抓取二进制软件包
添加软件源并手动安装
对于 CentOS 8 EPEL,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/CentOS_8_EPEL/home:CZ-NIC:knot-resolver-testing.repo yum install knot-resolver
对于 CentOS 7 EPEL,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/CentOS_7_EPEL/home:CZ-NIC:knot-resolver-testing.repo yum install knot-resolver
直接抓取二进制软件包
添加软件源并手动安装
对于 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-resolver-testing/Debian_9.0/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/Debian_9.0/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
对于 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-resolver-testing/Debian_11/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/Debian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
对于 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-resolver-testing/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/Debian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
直接抓取二进制软件包
添加软件源并手动安装
对于 Fedora Rawhide,请以根用户 root 运行下面命令:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/Fedora_Rawhide/home:CZ-NIC:knot-resolver-testing.repo dnf install knot-resolver
直接抓取二进制软件包
添加软件源并手动安装
对于 openSUSE Tumbleweed,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/openSUSE_Tumbleweed/home:CZ-NIC:knot-resolver-testing.repo zypper refresh zypper install knot-resolver
直接抓取二进制软件包
添加软件源并手动安装
对于 openSUSE Leap 15.4,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/openSUSE_Leap_15.4/home:CZ-NIC:knot-resolver-testing.repo zypper refresh zypper install knot-resolver
直接抓取二进制软件包
添加软件源并手动安装
对于 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-resolver-testing/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
对于 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-resolver-testing/xUbuntu_21.10/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/xUbuntu_21.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
对于 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-resolver-testing/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
对于 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-resolver-testing/xUbuntu_18.04_Ports/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/xUbuntu_18.04_Ports/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
对于 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-resolver-testing/xUbuntu_18.04/ /' | sudo tee /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-testing.list curl -fsSL https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-testing/xUbuntu_18.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_CZ-NIC_knot-resolver-testing.gpg > /dev/null sudo apt update sudo apt install knot-resolver
直接抓取二进制软件包
添加软件源并手动安装
对于 Fedora 36,请以根用户 root 运行下面命令:
?
对于 Fedora 35,请以根用户 root 运行下面命令:
?
对于 Debian Next,请以根用户 root 运行下面命令:
?