macOS
brew install nutlocal Homebrew formula metadata
sudo port install nutMacPorts ports tree · sysutils/nut/Portfile · 来源: api.github.com
安装
brew install nutlocal Homebrew formula metadata
sudo port install nutMacPorts ports tree · sysutils/nut/Portfile · 来源: api.github.com
sudo apk add nutAlpine Linux edge package indexes · nut · 来源: dl-cdn.alpinelinux.org
sudo apt install libnutclient-devDebian stable package indexes · libnutclient-dev · 来源: deb.debian.org
sudo dnf install nutFedora Rawhide package metadata · nut · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nutnixpkgs package indexes · pkgs/by-name/nu/nut/package.nix · 来源: api.github.com
sudo pacman -S nutArch Linux sync databases · nut · 来源: geo.mirror.pkgbuild.com
sudo zypper install libnutclient2openSUSE Tumbleweed package metadata · libnutclient2 · 来源: download.opensuse.org
概览
Network UPS Tools: Support for various power devices
历史
Network UPS Tools, packaged as `nut`, is the standard open-source toolkit for monitoring and controlling UPSes, PDUs, automatic transfer switches, power supplies, and related power devices through a common protocol and driver/client/server architecture.
The official NUT release notes trace the project back to Russell Kroll's 1996 APC Smart-UPS experiments, including cron-driven status reports and early protocol tests. Smart UPS Tools 0.10 was publicly released on March 10, 1998; a June 5, 1999 rewrite separated drivers, server, and clients; and the project renamed itself Network UPS Tools with 0.42.0 on October 31, 1999 to reflect multi-vendor support and avoid APC trademark proximity.
NUT grew from one APC-focused monitor into a cross-vendor power-device layer. The official site said on July 1, 2026 that at least 197 manufacturers and 1,431 device models were known compatible. Its user manual says NUT is pre-packaged for many operating systems, embedded in storage, automation, and virtualization appliances, and often shipped as companion software by UPS vendors.
A normal deployment has device-specific drivers feeding `upsd`, clients such as `upsc` querying status, and `upsmon` coordinating graceful shutdown before battery exhaustion. Package users care about config files such as `ups.conf`, driver startup through `upsdrvctl`, network access control, port 3493, and matching the driver to the exact UPS/PDU hardware. Larger deployments use the network model so multiple hosts powered by one UPS can observe the same state and shut down together.
NUT is operational plumbing: boring until power fails, then essential. It is packaging-heavy because it touches USB, serial, SNMP, Modbus, OpenSSL, init/service managers, CGI clients, Python/Perl/C/C++ client libraries, device rules, and OS-specific paths. RFC 9271, published in August 2022, documents the UPS management protocol used by the NUT ecosystem and reinforces that the project is more than a single Unix daemon.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/usr/local/ups/etc/nut.conf/usr/local/ups/etc/ups.conf/usr/local/ups/etc/upsd.conf/usr/local/ups/etc/upsmon.confCredential-bearing paths to review before unattended agent runs.
/usr/local/ups/etc/upsd.users可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
al175 | cli | 全局可执行文件 | |
apcsmart | cli | 全局可执行文件 | |
apcsmart-old | cli | 全局可执行文件 | |
apcupsd-ups | cli | 全局可执行文件 | |
bcmxcp | cli | 全局可执行文件 | |
bcmxcp_usb | cli | 全局可执行文件 | |
belkin | cli | 全局可执行文件 | |
belkinunv | cli | 全局可执行文件 | |
bestfcom | cli | 全局可执行文件 | |
bestfortress | cli | 全局可执行文件 | |
bestuferrups | cli | 全局可执行文件 | |
bestups | cli | 全局可执行文件 | |
bicker_ser | cli | 全局可执行文件 | |
blazer_ser | cli | 全局可执行文件 | |
blazer_usb | cli | 全局可执行文件 | |
clone | cli | 全局可执行文件 | |
clone-outlet | cli | 全局可执行文件 | |
dummy-ups | cli | 全局可执行文件 | |
etapro | cli | 全局可执行文件 | |
everups | cli | 全局可执行文件 | |
failover | cli | 全局可执行文件 | |
gamatronic | cli | 全局可执行文件 | |
genericups | cli | 全局可执行文件 | |
isbmex | cli | 全局可执行文件 | |
ivtscd | cli | 全局可执行文件 | |
liebert | cli | 全局可执行文件 | |
liebert-esp2 | cli | 全局可执行文件 | |
liebert-gxe | cli | 全局可执行文件 | |
masterguard | cli | 全局可执行文件 | |
meanwell_ntu | cli | 全局可执行文件 | |
metasys | cli | 全局可执行文件 | |
mge-shut | cli | 全局可执行文件 | |
mge-utalk | cli | 全局可执行文件 | |
microdowell | cli | 全局可执行文件 | |
microsol-apc | cli | 全局可执行文件 | |
nhs_ser | cli | 全局可执行文件 | |
nut-upower | cli | 全局可执行文件 | |
nutconf | cli | 全局可执行文件 | |
nutdrv_atcl_usb | cli | 全局可执行文件 | |
nutdrv_hashx | cli | 全局可执行文件 | |
nutdrv_qx | cli | 全局可执行文件 | |
nutdrv_siemens-sitop | cli | 全局可执行文件 | |
oneac | cli | 全局可执行文件 | |
optiups | cli | 全局可执行文件 | |
powercom | cli | 全局可执行文件 | |
powerpanel | cli | 全局可执行文件 | |
powervar_cx_ser | cli | 全局可执行文件 | |
powervar_cx_usb | cli | 全局可执行文件 | |
rhino | cli | 全局可执行文件 | |
richcomm_usb | cli | 全局可执行文件 | |
riello_ser | cli | 全局可执行文件 | |
riello_usb | cli | 全局可执行文件 | |
safenet | cli | 全局可执行文件 | |
skel | cli | 全局可执行文件 | |
sms_ser | cli | 全局可执行文件 | |
solis | cli | 全局可执行文件 | |
tripplite | cli | 全局可执行文件 | |
tripplite_usb | cli | 全局可执行文件 | |
tripplitesu | cli | 全局可执行文件 | |
upsc | cli | 全局可执行文件 | |
upscmd | cli | 全局可执行文件 | |
upscode2 | cli | 全局可执行文件 | |
upsd | cli | 全局可执行文件 | |
upsdrvctl | cli | 全局可执行文件 | |
upsdrvsvcctl | cli | 全局可执行文件 | |
upslog | cli | 全局可执行文件 | |
upsmon | cli | 全局可执行文件 | |
upsrw | cli | 全局可执行文件 | |
upssched | cli | 全局可执行文件 | |
upssched-cmd | cli | 全局可执行文件 | |
usbhid-ups | cli | 全局可执行文件 | |
ve-direct | cli | 全局可执行文件 | |
victronups | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/networkupstools/nut
安装元数据
| 软件包键 | brew:nut |
|---|---|
| 版本 | 2.8.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nut |
| 主页 | https://networkupstools.org/ |
| 仓库 | https://github.com/networkupstools/nut |
| 上游文档 | https://networkupstools.org/documentation.html |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/networkupstools/nut/releases/download/v2.8.5/nut-2.8.5.tar.gz |
| 依赖 | libusb, openssl@3 |
| 构建依赖 | autoconf, automake, libtool, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nut |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libnutclient-dev 2.8.1-5
network UPS tools - development files for the new client library
sudo apt install libnutclient-devlibnutclient2t64 2.8.1-5
network UPS tools - new client library
sudo apt install libnutclient2t64libnutscan-dev 2.8.1-5
network UPS tools - development files for the scanner library
sudo apt install libnutscan-devlibnutscan2 2.8.1-5
network UPS tools - scanner library
sudo apt install libnutscan2libups-nut-perl 2.8.1-5
network UPS tools - Perl bindings for NUT server
sudo apt install libups-nut-perllibupsclient-dev 2.8.1-5
network UPS tools - development files
sudo apt install libupsclient-devlibupsclient6t64 2.8.1-5
network UPS tools - client library
sudo apt install libupsclient6t64nut 2.8.1-5
network UPS tools - metapackage
sudo apt install nutnut-cgi 2.8.1-5
network UPS tools - web interface
sudo apt install nut-cginut-client 2.8.1-5
network UPS tools - clients
sudo apt install nut-clientnut-doc 2.8.1-5
network UPS tools - documentation
sudo apt install nut-docnut-i2c 2.8.1-5
network UPS tools - I2C driver
sudo apt install nut-i2cnut-ipmi 2.8.1-5
network UPS tools - IPMI driver
sudo apt install nut-ipminut-modbus 2.8.1-5
network UPS tools - Modbus driver
sudo apt install nut-modbusnut-monitor 2.8.1-5
network UPS tools - GUI application to monitor UPS status
sudo apt install nut-monitornut-powerman-pdu 2.8.1-5
network UPS tools - PowerMan PDU driver
sudo apt install nut-powerman-pdu来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.