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