Automic VaultAutomic Vault

brew

Install apr with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Apache Portable Runtime library. Version 1.7.6 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install apr

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install apr

MacPorts ports tree · devel/apr/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add apr

Alpine Linux edge package indexes · apr · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libapr1-dev

Debian stable package indexes · libapr1-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install apr

Fedora Rawhide package metadata · apr · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#apr

nixpkgs package indexes · pkgs/by-name/ap/apr/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S apr

Arch Linux sync databases · apr · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install apr-devel

openSUSE Tumbleweed package metadata · apr-devel · source: download.opensuse.org

overview

Package summary

Apache Portable Runtime library

Commands and aliases

  • apr-1-config

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1990s-2000s: APR emerges from Apache HTTP Server portability work.
  • 2008: APR project website documents APR, APR-util, and APR-iconv as supported subprojects.
  • 2025: APR 1.7.6 listed by Apache as the recommended APR release.

Related projects

  • Apache HTTP Server was the original ecosystem driver for APR.
  • APR-util is the companion utility library above core APR.
  • APR-iconv is the related portable iconv implementation under the APR project.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
apr-1-configcliglobal executable

freshness

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

page generated2026-07-08
manager version1.7.6
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://apr.apache.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://apr.apache.org/none confidence

install metadata

Package metadata

Package keybrew:apr
Version1.7.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/apr
Homepagehttps://apr.apache.org/
Repositoryhttps://svn.apache.org/repos/asf/apr/apr/trunk
Upstream docshttps://apr.apache.org/compiling_unix.html
LicenseApache-2.0
Source archivehttps://www.apache.org/dyn/closer.lua?path=apr/apr-1.7.6.tar.bz2
Uses from macOSlibxcrypt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libapr1-dev 1.7.5-1

Apache Portable Runtime Library - Development Headers

https://apr.apache.org/

sudo apt install libapr1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: apr
  • 4 dependencies
  • normalized package name match
  • Matched by: Apr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libapr1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libapr1t64 1.7.5-1

Apache Portable Runtime Library

https://apr.apache.org/

sudo apt install libapr1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: apr
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Apr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libapr1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

apr

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

libapr1-dev 1.7.2-3.1build2

Apache Portable Runtime Library - Development Headers

https://apr.apache.org/

sudo apt install libapr1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: apr
  • 4 dependencies
  • normalized package name match
  • Matched by: Apr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libapr1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libapr1t64 1.7.2-3.1build2

Apache Portable Runtime Library

https://apr.apache.org/

sudo apt install libapr1t64
  • Section: libs
  • Architecture: amd64
  • Source Package: apr
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Apr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libapr1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

apr 1.7.6-r0

The Apache Portable Runtime

https://apr.apache.org/

sudo apk add apr
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: apr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Apr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

apr-dev 1.7.6-r0

The Apache Portable Runtime

https://apr.apache.org/

sudo apk add apr-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: apr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Apr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apr-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

apr 1.7.6-5.fc44

Apache Portable Runtime library

https://apr.apache.org/

sudo dnf install apr
  • License: Apache-2.0 AND (BSD-4-Clause-UC AND ISC AND Zlib AND Caldera-no-preamble)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: apr
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Apr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: apr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

apr-devel 1.7.6-5.fc44

APR library development kit

https://apr.apache.org/

sudo dnf install apr-devel
  • License: Apache-2.0 AND (BSD-4-Clause-UC AND ISC AND Zlib AND Caldera-no-preamble)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: apr
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Apr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: apr-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

apr 1.7.6-1

The Apache Portable Runtime

https://apr.apache.org/

sudo pacman -S apr
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Apr
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: apr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

apr-devel 1.7.6-1.3

Development files for the Apache Portable Runtime (APR) library

https://apr.apache.org/

sudo zypper install apr-devel
  • License: Apache-2.0
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: apr
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Apr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: apr-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libapr1-0 1.7.6-1.3

Apache Portable Runtime (APR) Library

https://apr.apache.org/

sudo zypper install libapr1-0
  • License: Apache-2.0
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: apr
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Apr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libapr1-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

apr

sudo port install apr
  • normalized package name match
  • Matched by: Apr
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/apr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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