Automic VaultAutomic Vault

brew

apr を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

apr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install apr

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install apr

MacPorts ports tree · devel/apr/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add apr

Alpine Linux edge package indexes · apr · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install apr

Fedora Rawhide package metadata · apr · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#apr

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

Arch Linux pacman確認済み · 92%
sudo pacman -S apr

Arch Linux sync databases · apr · ソース: geo.mirror.pkgbuild.com

Debian apt確認済み · 92%
sudo apt install libapr1-dev

Debian stable package indexes · libapr1-dev · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install apr-devel

openSUSE Tumbleweed package metadata · apr-devel · ソース: download.opensuse.org

概要

パッケージ概要

Apache Portable Runtime library

コマンドとエイリアス

  • apr-1-config

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

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

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
apr-1-configcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版1.7.6
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://apr.apache.org/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://apr.apache.org/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:apr
バージョン1.7.6
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/apr
ホームページhttps://apr.apache.org/
リポジトリhttps://svn.apache.org/repos/asf/apr/apr/trunk
上流ドキュメントhttps://apr.apache.org/compiling_unix.html
ライセンスApache-2.0
ソースアーカイブhttps://www.apache.org/dyn/closer.lua?path=apr/apr-1.7.6.tar.bz2
macOS 提供ライブラリlibxcrypt
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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