macOS
brew install aprlocal Homebrew formula metadata
sudo port install aprMacPorts ports tree · devel/apr/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de apr pour les workflows d'agents IA.
installation
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 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 apt install libapr1-devDebian stable package indexes · libapr1-dev · Source: deb.debian.org
sudo zypper install apr-developenSUSE Tumbleweed package metadata · apr-devel · Source: download.opensuse.org
aperçu
Apache Portable Runtime library
historique
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.
posture de sécurité
library-like package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
apr-1-config | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:apr |
|---|---|
| Version | 1.7.6 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/apr |
| Page d'accueil | https://apr.apache.org/ |
| Dépôt | https://svn.apache.org/repos/asf/apr/apr/trunk |
| Docs amont | https://apr.apache.org/compiling_unix.html |
| Licence | Apache-2.0 |
| Archive source | https://www.apache.org/dyn/closer.lua?path=apr/apr-1.7.6.tar.bz2 |
| Bibliothèques fournies par macOS | libxcrypt |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 aprpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.