# Install apcupsd with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Daemon for controlling APC UPSes. Version 3.14.14 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:apcupsd
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install apcupsd
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install apcupsd
```

  Evidence: MacPorts ports tree: sysutils/apcupsd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add apcupsd
```

  Evidence: Alpine Linux edge package indexes: apcupsd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install apcupsd
```

  Evidence: Debian stable package indexes: apcupsd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install apcupsd
```

  Evidence: Fedora Rawhide package metadata: apcupsd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#apcupsd
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ap/apcupsd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S apcupsd
```

  Evidence: Arch Linux sync databases: apcupsd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install apcupsd
```

  Evidence: openSUSE Tumbleweed package metadata: apcupsd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:apcupsd
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/apcupsd>
- **Version:** 3.14.14
- **Source summary:** Daemon for controlling APC UPSes
- **Homepage:** <http://www.apcupsd.org>
- **Repository:** <https://sourceforge.net/p/apcupsd/svn/HEAD/tree>
- **Upstream docs:** <http://www.apcupsd.org/manual>
- **License:** GPL-2.0-only
- **Source archive:** <https://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/3.14.14/apcupsd-3.14.14.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- apcaccess (cli)
- apctest (cli)
- apcupsd (cli)
- apcupsd-start (cli)
- smtp (cli)
- apcaccess (alias)
- apctest (alias)
- apcupsd (alias)
- apcupsd-start (alias)
- smtp (alias)

## Dependencies

- gd
- libusb-compat

## Install behavior

- Post-install hook: not defined
- Caveats: 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
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.14.14
- Local data: ok
- Upstream repository: http://www.apcupsd.org
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <http://www.apcupsd.org/manual>
- <https://sourceforge.net/p/apcupsd/svn/HEAD/tree/>
- source_facts.executables
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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

- Unix: /etc/apcupsd/apcupsd.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** apcupsd
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - apcupsd - 3.14.14-5: normalized package name match | Debian stable package indexes: apcupsd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | APC UPS Power Management (daemon) | http://www.apcupsd.org/
- Debian apt - apcupsd-cgi - 3.14.14-5: normalized package name match | Debian stable package indexes: apcupsd-cgi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | APC UPS Power Management (web interface) | http://www.apcupsd.org/
- Debian apt - apcupsd-doc - 3.14.14-5: normalized package name match | Debian stable package indexes: apcupsd-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | APC UPS Power Management (documentation/examples) | http://www.apcupsd.org/
- Nix - apcupsd: normalized package name match | nixpkgs package indexes: pkgs/by-name/ap/apcupsd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - apcupsd - 3.14.14-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: apcupsd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | APC UPS Power Management (daemon) | http://www.apcupsd.org/
- Ubuntu apt - apcupsd-cgi - 3.14.14-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: apcupsd-cgi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | APC UPS Power Management (web interface) | http://www.apcupsd.org/
- Ubuntu apt - apcupsd-doc - 3.14.14-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: apcupsd-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | APC UPS Power Management (documentation/examples) | http://www.apcupsd.org/
- apk - apcupsd - 3.14.14-r6: normalized package name match | Alpine Linux edge package indexes: apcupsd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A Daemon to control APC UPSes | http://www.apcupsd.org
- apk - apcupsd-doc - 3.14.14-r6: normalized package name match | Alpine Linux edge package indexes: apcupsd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A Daemon to control APC UPSes (documentation) | http://www.apcupsd.org
- apk - apcupsd-openrc - 3.14.14-r6: normalized package name match | Alpine Linux edge package indexes: apcupsd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A Daemon to control APC UPSes (OpenRC init scripts) | http://www.apcupsd.org
- apk - apcupsd-webif - 3.14.14-r6: normalized package name match | Alpine Linux edge package indexes: apcupsd-webif from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A Daemon to control APC UPSes | http://www.apcupsd.org
- dnf - apcupsd - 3.14.14-41.fc44: normalized package name match | Fedora Rawhide package metadata: apcupsd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | APC UPS Power Control Daemon | http://www.apcupsd.com
- dnf - apcupsd-cgi - 3.14.14-41.fc44: normalized package name match | 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 | Web interface for apcupsd | http://www.apcupsd.com
- dnf - apcupsd-gui - 3.14.14-41.fc44: normalized package name match | 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 | GUI interface for apcupsd | http://www.apcupsd.com
- pacman - apcupsd - 3.14.14-9: normalized package name match | Arch Linux sync databases: apcupsd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Power mangement and controlling most of APC's UPS models | http://www.apcupsd.org
- zypper - apcupsd - 3.14.14-17.5: normalized package name match | openSUSE Tumbleweed package metadata: apcupsd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | APC UPS Daemon (Powerful Daemon for APC UPSs) | http://www.apcupsd.com/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Runtime dependency declared by Homebrew.
- [libusb-compat](https://www.automicvault.com/pkg/brew/libusb-compat/) - Runtime dependency declared by Homebrew.
- [nut](https://www.automicvault.com/pkg/brew/nut/) - Shares av.db curated category or tags: cli, daemon, power-management, system, ups.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Shares av.db curated category or tags: cli, daemon, system.
- [dbus](https://www.automicvault.com/pkg/brew/dbus/) - Shares av.db curated category or tags: cli, daemon, system.
- [detach](https://www.automicvault.com/pkg/brew/detach/) - Shares av.db curated category or tags: cli, daemon, system.
- [direvent](https://www.automicvault.com/pkg/brew/direvent/) - Shares av.db curated category or tags: cli, daemon, system.
- [dwatch](https://www.automicvault.com/pkg/brew/dwatch/) - Shares av.db curated category or tags: cli, daemon, system.
- [fwupd](https://www.automicvault.com/pkg/brew/fwupd/) - Shares av.db curated category or tags: cli, daemon, system.
- [immortal](https://www.automicvault.com/pkg/brew/immortal/) - Shares av.db curated category or tags: cli, daemon, system.
- [dfu-util](https://www.automicvault.com/pkg/brew/dfu-util/) - Local package facts share a topical domain. Shared terms: cli, libusb, system.
- [gaffitter](https://www.automicvault.com/pkg/brew/gaffitter/) - Local package facts share a topical domain. Shared terms: cli, management, system.

## Combined YAML source

View the package source record on GitHub. [combined/apcupsd.yml](https://github.com/automic-vault/db/blob/main/combined/apcupsd.yml)


## Sources

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