Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 apcupsd

查看 apcupsd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install apcupsd

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install apcupsd

MacPorts ports tree · sysutils/apcupsd/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add apcupsd

Alpine Linux edge package indexes · apcupsd · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install apcupsd

Debian stable package indexes · apcupsd · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install apcupsd

Fedora Rawhide package metadata · apcupsd · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#apcupsd

nixpkgs package indexes · pkgs/by-name/ap/apcupsd/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S apcupsd

Arch Linux sync databases · apcupsd · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install apcupsd

openSUSE Tumbleweed package metadata · apcupsd · 来源: download.opensuse.org

概览

软件包摘要

Daemon for controlling APC UPSes

命令和别名

  • apcaccess
  • apctest
  • apcupsd
  • apcupsd-start
  • smtp

历史

项目历史与用法

apcupsd is a daemon and command-line toolset for monitoring and controlling APC UPS devices. It is one of those infrastructure packages that quietly matters because it can shut systems down cleanly when power fails.

项目历史

The apcupsd project dates to the long-running Unix tradition of hardware daemons: small background services that translate a device protocol into system policy. Its official manual documents operation with APC UPS hardware, configuration through `apcupsd.conf`, status querying through `apcaccess`, and testing through `apctest`.

The project has historically lived on SourceForge, with source control exposed through the official SourceForge project tree. That hosting history matches many mature system utilities that predate GitHub-centered development.

采用历史

apcupsd's adoption is strongest in server, NAS, homelab, and workstation environments where APC UPS hardware is common and a lightweight local daemon is preferable to a larger management suite.

The supplied package data shows broad Unix-like packaging: Alpine, Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper. That breadth is the package-history signal: administrators expect it to be available from the native package manager on almost any Unix-like system.

使用方式

Typical usage is to configure `/etc/apcupsd/apcupsd.conf`, run the `apcupsd` daemon, inspect UPS state with `apcaccess`, and test device communication with `apctest`. Scripts and service managers then use the daemon's events to perform clean shutdowns or notifications.

The package is hardware-facing, so installation alone is not the whole story. Correct cable/device selection, daemon privileges, and shutdown policy matter more than application-level credentials.

为什么软件包爱好者会关心

apcupsd is package-nerd significant because it represents the unglamorous layer where packaging meets physical infrastructure. A good package has to install a daemon, config file, service integration, helper commands, and documentation without hiding the hardware-specific knobs.

It also illustrates why old system packages remain valuable: power events are rare, but when they happen the daemon must already be installed, configured, and boringly reliable.

时间线

  • 1990s: apcupsd emerges as a Unix daemon for APC UPS management.
  • 2000s: SourceForge hosting and distribution packaging make apcupsd a standard sysadmin utility.
  • 2010s: Linux, BSD, and macOS package ecosystems continue shipping apcupsd.
  • 2020s: The package remains available across mainstream Unix-like package managers.

Related projects

  • Network UPS Tools is the most common neighboring UPS-monitoring project.
  • System service managers and shutdown tools are operationally adjacent because apcupsd's main job is to react safely to power events.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/apcupsd/apcupsd.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
apcaccesscli全局可执行文件
apctestcli全局可执行文件
apcupsdcli全局可执行文件
apcupsd-startcli全局可执行文件
smtpcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.14.14
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

http://www.apcupsd.org

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.http://www.apcupsd.orgnone 置信度

安装元数据

软件包元数据

软件包键brew:apcupsd
版本3.14.14
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/apcupsd
主页http://www.apcupsd.org
仓库https://sourceforge.net/p/apcupsd/svn/HEAD/tree
上游文档http://www.apcupsd.org/manual
许可证GPL-2.0-only
源码归档https://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/3.14.14/apcupsd-3.14.14.tar.gz
依赖gd, libusb-compat
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项For apcupsd to be able to communicate with UPSes connected via USB, the kernel extension must be installed by the root user: sudo cp -pR $HOMEBREW_CELLAR/apcupsd/3.14.14/Library/Extensions/ApcupsdDummy.kext /System/Library/Extensions/ sudo chown -R root:wheel /System/Library/Extensions/ApcupsdDummy.kext sudo touch /System/Library/Extensions/ Note: The kernel extension currently does not work as expected. You will have to unplug and plug the USB cable back in after each reboot in order for apcupsd to be able to connect to the UPS. To load apcupsd at startup, activate the included Launch Daemon: sudo cp $HOMEBREW_CELLAR/apcupsd/3.14.14/lib/Library/LaunchDaemons/org.apcupsd.apcupsd.plist /Library/LaunchDaemons sudo chmod 644 /Library/LaunchDaemons/org.apcupsd.apcupsd.plist sudo launchctl load -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist If this is an upgrade and you already have the Launch Daemon loaded, you have to unload the Launch Daemon before reinstalling it: sudo launchctl unload -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist sudo rm /Library/LaunchDaemons/org.apcupsd.apcupsd.plist

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameapcupsd
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

apcupsd 3.14.14-5

APC UPS Power Management (daemon)

http://www.apcupsd.org/

sudo apt install apcupsd
  • Section: admin
  • Architecture: amd64
  • 5 依赖
  • 1 提供
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Apcupsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: apcupsd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

apcupsd-cgi 3.14.14-5

APC UPS Power Management (web interface)

http://www.apcupsd.org/

sudo apt install apcupsd-cgi
  • Section: web
  • Architecture: amd64
  • Source Package: apcupsd
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Apcupsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: apcupsd-cgi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

apcupsd-doc 3.14.14-5

APC UPS Power Management (documentation/examples)

http://www.apcupsd.org/

sudo apt install apcupsd-doc
  • Section: doc
  • Architecture: all
  • Source Package: apcupsd
  • normalized package name match
  • 匹配方式:Apcupsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: apcupsd-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

apcupsd

nix profile install nixpkgs#apcupsd
  • normalized package name match
  • 匹配方式:Apcupsd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ap/apcupsd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

apcupsd 3.14.14-3.1build2

APC UPS Power Management (daemon)

http://www.apcupsd.org/

sudo apt install apcupsd
  • Section: universe/admin
  • Architecture: amd64
  • 5 依赖
  • 1 提供
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Apcupsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: apcupsd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

apcupsd-cgi 3.14.14-3.1build2

APC UPS Power Management (web interface)

http://www.apcupsd.org/

sudo apt install apcupsd-cgi
  • Section: universe/web
  • Architecture: amd64
  • Source Package: apcupsd
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Apcupsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: apcupsd-cgi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

apcupsd-doc 3.14.14-3.1build2

APC UPS Power Management (documentation/examples)

http://www.apcupsd.org/

sudo apt install apcupsd-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: apcupsd
  • normalized package name match
  • 匹配方式:Apcupsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: apcupsd-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

apcupsd 3.14.14-r6

A Daemon to control APC UPSes

http://www.apcupsd.org

sudo apk add apcupsd
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: apcupsd
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Apcupsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apcupsd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

apcupsd-doc 3.14.14-r6

A Daemon to control APC UPSes (documentation)

http://www.apcupsd.org

sudo apk add apcupsd-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: apcupsd
  • normalized package name match
  • 匹配方式:Apcupsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apcupsd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

apcupsd-openrc 3.14.14-r6

A Daemon to control APC UPSes (OpenRC init scripts)

http://www.apcupsd.org

sudo apk add apcupsd-openrc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: apcupsd
  • normalized package name match
  • 匹配方式:Apcupsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apcupsd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

apcupsd-webif 3.14.14-r6

A Daemon to control APC UPSes

http://www.apcupsd.org

sudo apk add apcupsd-webif
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: apcupsd
  • 1 依赖
  • normalized package name match
  • 匹配方式:Apcupsd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apcupsd-webif from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

apcupsd 3.14.14-41.fc44

APC UPS Power Control Daemon

http://www.apcupsd.com

sudo dnf install apcupsd
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: apcupsd
  • 10 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Apcupsd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: apcupsd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

apcupsd-cgi 3.14.14-41.fc44

Web interface for apcupsd

http://www.apcupsd.com

sudo dnf install apcupsd-cgi
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: apcupsd
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Apcupsd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: apcupsd-cgi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

apcupsd-gui 3.14.14-41.fc44

GUI interface for apcupsd

http://www.apcupsd.com

sudo dnf install apcupsd-gui
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: apcupsd
  • 12 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Apcupsd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: apcupsd-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

apcupsd 3.14.14-9

Power mangement and controlling most of APC's UPS models

http://www.apcupsd.org

sudo pacman -S apcupsd
  • License: GPL
  • Architecture: x86_64
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Apcupsd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: apcupsd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

apcupsd 3.14.14-17.5

APC UPS Daemon (Powerful Daemon for APC UPSs)

http://www.apcupsd.com/

sudo zypper install apcupsd
  • License: GPL-2.0-only
  • Category: Hardware/UPS
  • Architecture: x86_64
  • Source Package: apcupsd
  • 16 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Apcupsd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: apcupsd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment