nut from home:networkupstools project
选择您的操作系统
添加软件源并手动安装
对于 CentOS 9,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/home:networkupstools/CentOS_9/home:networkupstools.repo yum install nut
对于 CentOS 10,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/home:networkupstools/CentOS_10/home:networkupstools.repo yum install nut
直接抓取二进制软件包
添加软件源并手动安装
对于 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/home:/networkupstools/Debian_Testing/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/Debian_Testing/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
对于 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/home:/networkupstools/Debian_13/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/Debian_13/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
对于 Debian 12,请运行以下命令:
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:/networkupstools/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
对于 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:/networkupstools/Debian_11/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/Debian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
直接抓取二进制软件包
添加软件源并手动安装
对于 Fedora Rawhide,请以根用户 root 运行下面命令:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:networkupstools/Fedora_Rawhide/home:networkupstools.repo dnf install nut
对于 Fedora 42,请以根用户 root 运行下面命令:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:networkupstools/Fedora_42/home:networkupstools.repo dnf install nut
直接抓取二进制软件包
添加软件源并手动安装
对于 openSUSE Tumbleweed,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/home:networkupstools/openSUSE_Tumbleweed/home:networkupstools.repo zypper refresh zypper install nut
对于 openSUSE Slowroll,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/home:networkupstools/openSUSE_Slowroll/home:networkupstools.repo zypper refresh zypper install nut
对于 openSUSE Factory ARM,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/home:networkupstools/openSUSE_Factory_ARM/home:networkupstools.repo zypper refresh zypper install nut
直接抓取二进制软件包
添加软件源并手动安装
对于 Raspbian 12,请运行以下命令:
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:/networkupstools/Raspbian_12/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/Raspbian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
对于 Raspbian 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:/networkupstools/Raspbian_11/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/Raspbian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
直接抓取二进制软件包
添加软件源并手动安装
对于 openSUSE Leap 15.6,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/home:networkupstools/openSUSE_Leap_15.6/home:networkupstools.repo zypper refresh zypper install nut
对于 SLE 15,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/home:networkupstools/SLE_15/home:networkupstools.repo zypper refresh zypper install nut
直接抓取二进制软件包
添加软件源并手动安装
对于 xUbuntu 25.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:/networkupstools/xUbuntu_25.04/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/xUbuntu_25.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
对于 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:/networkupstools/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:networkupstools.list curl -fsSL https://download.opensuse.org/repositories/home:networkupstools/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_networkupstools.gpg > /dev/null sudo apt update sudo apt install nut
直接抓取二进制软件包
添加软件源并手动安装
对于 openSUSE Leap 16.0,请以根用户 root 运行下面命令:
?
对于 Debian Next,请以根用户 root 运行下面命令:
?