macOS
brew install aprlocal Homebrew formula metadata
sudo port install aprMacPorts ports tree · devel/apr/Portfile · source: api.github.com
brew
Apache Portable Runtime library. Version 1.7.6 via Homebrew; verified from local package data.
install
brew install aprlocal Homebrew formula metadata
sudo port install aprMacPorts ports tree · devel/apr/Portfile · source: api.github.com
sudo apk add aprAlpine Linux edge package indexes · apr · source: dl-cdn.alpinelinux.org
sudo apt install libapr1-devDebian stable package indexes · libapr1-dev · source: deb.debian.org
sudo dnf install aprFedora Rawhide package metadata · apr · source: dl.fedoraproject.org
nix profile install nixpkgs#aprnixpkgs package indexes · pkgs/by-name/ap/apr/package.nix · source: api.github.com
sudo pacman -S aprArch Linux sync databases · apr · source: geo.mirror.pkgbuild.com
sudo zypper install apr-developenSUSE Tumbleweed package metadata · apr-devel · source: download.opensuse.org
overview
Apache Portable Runtime library
history
Apache Portable Runtime is a C portability library that gives Apache-family software a consistent API over platform-specific operating-system services. It abstracts files, sockets, processes, threads, memory pools, locking, and related native facilities.
APR originated in the Apache HTTP Server world and became its own Apache project around a general portability mission: provide predictable behavior across operating systems so application code does not need piles of platform-specific branches.
The project retained a classic Apache development shape: source in Apache Subversion, stable API manuals by branch, release tarballs, mailing-list development, and a small set of companion subprojects such as APR-util and APR-iconv.
The current stable documentation line is APR 1.7. Apache's project page lists APR 1.7.6 as the recommended release in 2025 and describes 1.7 as an enhancement and bugfix line documented through the project's CHANGES files.
APR first mattered because Apache HTTP Server needed portable native infrastructure across Unix, Windows, and other supported systems. Apache later advertised projects using APR outside HTTP Server, explicitly encouraging broader reuse after several years of development.
The supplied package metadata shows the result of that portability role: APR is packaged across Homebrew, Debian/Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, MacPorts, Nix, and openSUSE/zypper. That spread is typical for a foundational C library rather than an end-user CLI.
APR's apr-1-config executable is part of its adoption story. It gives source builds a stable way to ask an installed APR for include paths, compiler flags, and linker flags, which is why it appears in so many package recipes.
Developers use APR by compiling against its headers and library, often discovered through apr-1-config. Runtime users usually encounter it as an indirect dependency of Apache HTTP Server, Subversion-era tooling, or Apache modules.
APR's memory pool model and portability wrappers are particularly recognizable to C programmers maintaining long-lived server software. They make it possible to write one native code path that still behaves sensibly on Unix and Windows.
APR is one of those quiet packages that makes old-school portable C infrastructure work. It carries ABI concerns, platform feature detection, and build-helper behavior that package maintainers need to get exactly right or large chunks of Apache-linked software fail to compile.
It also marks a packaging boundary: APR is the low-level portability substrate, APR-util adds optional higher-level integrations, and consumers can depend on one or both depending on how much Apache runtime surface they need.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
apr-1-config | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:apr |
|---|---|
| Version | 1.7.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/apr |
| Homepage | https://apr.apache.org/ |
| Repository | https://svn.apache.org/repos/asf/apr/apr/trunk |
| Upstream docs | https://apr.apache.org/compiling_unix.html |
| License | Apache-2.0 |
| Source archive | https://www.apache.org/dyn/closer.lua?path=apr/apr-1.7.6.tar.bz2 |
| Uses from macOS | libxcrypt |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | apr |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libapr1-dev 1.7.5-1
Apache Portable Runtime Library - Development Headers
sudo apt install libapr1-devlibapr1t64 1.7.5-1
Apache Portable Runtime Library
sudo apt install libapr1t64apr
nix profile install nixpkgs#aprlibapr1-dev 1.7.2-3.1build2
Apache Portable Runtime Library - Development Headers
sudo apt install libapr1-devlibapr1t64 1.7.2-3.1build2
Apache Portable Runtime Library
sudo apt install libapr1t64apr 1.7.6-r0
The Apache Portable Runtime
sudo apk add aprapr-dev 1.7.6-r0
The Apache Portable Runtime
sudo apk add apr-devapr 1.7.6-5.fc44
Apache Portable Runtime library
sudo dnf install aprapr-devel 1.7.6-5.fc44
APR library development kit
sudo dnf install apr-develapr 1.7.6-1
The Apache Portable Runtime
sudo pacman -S aprapr-devel 1.7.6-1.3
Development files for the Apache Portable Runtime (APR) library
sudo zypper install apr-devellibapr1-0 1.7.6-1.3
Apache Portable Runtime (APR) Library
sudo zypper install libapr1-0apr
sudo port install aprsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.