# Install apr-util with Homebrew, apk, apt, dnf, MacPorts, pacman, zypper

Companion library to apr, the Apache Portable Runtime library. Version 1.6.3 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:apr-util
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install apr-util
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install apr-util
```

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

### Linux

- apk (92%):

```sh
sudo apk add apr-util
```

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

- Debian apt (92%):

```sh
sudo apt install libaprutil1-dbd-mysql
```

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

- dnf (92%):

```sh
sudo dnf install apr-util
```

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

- pacman (92%):

```sh
sudo pacman -S apr-util
```

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

- zypper (92%):

```sh
sudo zypper install apr-util-devel
```

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

## Package facts

- **Package key:** brew:apr-util
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/apr-util>
- **Version:** 1.6.3
- **Source summary:** Companion library to apr, the Apache Portable Runtime library
- **Homepage:** <https://apr.apache.org/>
- **Repository:** <https://svn.apache.org/repos/asf/apr/apr-util/branches/1.6.x>
- **Upstream docs:** <https://apr.apache.org/>
- **License:** Apache-2.0
- **Source archive:** <https://www.apache.org/dyn/closer.lua?path=apr/apr-util-1.6.3.tar.bz2>
- **Last updated:** 2026-06-22T14:02:44-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- apu-1-config (cli)
- apu-1-config (alias)

## Dependencies

- apr
- openssl@3

## Uses from macOS

- expat
- libxcrypt
- sqlite

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.6.3
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://apr.apache.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

APR-util is the companion utility library for the Apache Portable Runtime. It collects higher-level support code around APR, including database, XML, crypto, and other utility interfaces used by Apache-family C software.

### Project history

APR-util grew inside the Apache Portable Runtime project as the layer above the core portability APIs. The APR homepage lists APR-util as a supported APR subproject and describes it simply as a companion library to APR.

The 1.6 branch remains the documented stable API line for APR-util. Apache's current project page lists APR-util 1.6.3 as the recommended release and notes that recent maintenance focused on third-party dependency handling, including expat unbundling and builds against current libraries such as OpenSSL and MySQL.

### Adoption history

APR-util's adoption follows APR and Apache HTTP Server culture: it is packaged wherever native Apache modules and APR-linked software are built. The supplied metadata records packages across Homebrew, Debian/Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, MacPorts, and openSUSE/zypper.

Because it ships apu-1-config, APR-util is visible to build systems as a traditional Unix development package. Downstream packages use that config helper to discover compiler and linker flags instead of vendoring APR utility code.

### How it is used

End users rarely invoke APR-util directly. Developers and package build scripts use its headers, libraries, and apu-1-config helper when compiling Apache modules or C programs that need APR's utility facilities.

It is generally installed alongside APR itself. The packaging distinction matters because APR is the portability substrate, while APR-util carries optional utility integrations whose dependencies vary more by platform.

### Why package nerds care

APR-util is package-manager glue for native Apache ecosystems. It is small, old, and easy to overlook, but it is the kind of ABI-bearing library that determines whether an Apache module build finds the same database, XML, crypto, and portability interfaces on macOS, Linux, and BSD.

The split between apr and apr-util is historically important to packagers: it keeps core portability separate from utility dependencies, reducing unnecessary linkage for packages that only need APR.

### Timeline

- 2000s: APR-util becomes one of the supported subprojects under the Apache Portable Runtime project.
- 2017: APR-util 1.6 branch documented as the stable API line.
- 2023: APR-util 1.6.3 released with dependency maintenance such as expat unbundling and updated library builds.

### Related projects

- Apache Portable Runtime is the core runtime library that APR-util extends.
- Apache HTTP Server is the original Apache ecosystem consumer that made APR and APR-util common native-development dependencies.

### Sources

- <https://apr.apache.org/>
- <https://apr.apache.org/docs/apr-util/1.6>
- source_facts.package-manager


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libaprutil1-dbd-mysql - 1.6.3-3+b1: normalized package name match | Debian stable package indexes: libaprutil1-dbd-mysql from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Portable Runtime Utility Library - MySQL Driver | https://apr.apache.org/
- Debian apt - libaprutil1-dbd-odbc - 1.6.3-3+b1: normalized package name match | Debian stable package indexes: libaprutil1-dbd-odbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Portable Runtime Utility Library - ODBC Driver | https://apr.apache.org/
- Debian apt - libaprutil1-dbd-pgsql - 1.6.3-3+b1: normalized package name match | Debian stable package indexes: libaprutil1-dbd-pgsql from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Portable Runtime Utility Library - PostgreSQL Driver | https://apr.apache.org/
- Debian apt - libaprutil1-dbd-sqlite3 - 1.6.3-3+b1: normalized package name match | Debian stable package indexes: libaprutil1-dbd-sqlite3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Portable Runtime Utility Library - SQLite3 Driver | https://apr.apache.org/
- Debian apt - libaprutil1-dev - 1.6.3-3+b1: normalized package name match | Debian stable package indexes: libaprutil1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Portable Runtime Utility Library - Development Headers | https://apr.apache.org/
- Debian apt - libaprutil1-ldap - 1.6.3-3+b1: normalized package name match | Debian stable package indexes: libaprutil1-ldap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Portable Runtime Utility Library - LDAP Driver | https://apr.apache.org/
- Debian apt - libaprutil1t64 - 1.6.3-3+b1: normalized package name match | Debian stable package indexes: libaprutil1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Portable Runtime Utility Library | https://apr.apache.org/
- Ubuntu apt - libaprutil1-dbd-mysql - 1.6.3-1.1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libaprutil1-dbd-mysql from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Portable Runtime Utility Library - MySQL Driver | https://apr.apache.org/
- Ubuntu apt - libaprutil1-dbd-odbc - 1.6.3-1.1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libaprutil1-dbd-odbc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Portable Runtime Utility Library - ODBC Driver | https://apr.apache.org/
- Ubuntu apt - libaprutil1-dbd-pgsql - 1.6.3-1.1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libaprutil1-dbd-pgsql from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Portable Runtime Utility Library - PostgreSQL Driver | https://apr.apache.org/
- Ubuntu apt - libaprutil1-dbd-sqlite3 - 1.6.3-1.1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libaprutil1-dbd-sqlite3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Apache Portable Runtime Utility Library - SQLite3 Driver | https://apr.apache.org/
- Ubuntu apt - libaprutil1-dev - 1.6.3-1.1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libaprutil1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Apache Portable Runtime Utility Library - Development Headers | https://apr.apache.org/
- Ubuntu apt - libaprutil1-ldap - 1.6.3-1.1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libaprutil1-ldap from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Apache Portable Runtime Utility Library - LDAP Driver | https://apr.apache.org/
- Ubuntu apt - libaprutil1t64 - 1.6.3-1.1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libaprutil1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Apache Portable Runtime Utility Library | https://apr.apache.org/
- apk - apr-util - 1.6.3-r2: normalized package name match | Alpine Linux edge package indexes: apr-util from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Apache Portable Runtime Utility Library | https://apr.apache.org/
- apk - apr-util-dbd_mysql - 1.6.3-r2: normalized package name match | Alpine Linux edge package indexes: apr-util-dbd_mysql from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Apache Portable Runtime Utility Library - MySQL driver | https://apr.apache.org/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [apr](https://www.automicvault.com/pkg/brew/apr/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [httpd](https://www.automicvault.com/pkg/brew/httpd/) - Popular package that depends on this formula.
- [openmama](https://www.automicvault.com/pkg/brew/openmama/) - Popular package that depends on this formula.
- [passenger](https://www.automicvault.com/pkg/brew/passenger/) - Popular package that depends on this formula.
- [php](https://www.automicvault.com/pkg/brew/php/) - Popular package that depends on this formula.
- [php@8.1](https://www.automicvault.com/pkg/brew/php-8-1/) - Popular package that depends on this formula.
- [nspr](https://www.automicvault.com/pkg/brew/nspr/) - Shares av.db curated category or tags: cli, developer-tools, library, portable-runtime.
- [ada-url](https://www.automicvault.com/pkg/brew/ada-url/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [ancient](https://www.automicvault.com/pkg/brew/ancient/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [ant](https://www.automicvault.com/pkg/brew/ant/) - Shares av.db curated category or tags: apache, cli, developer-tools.
- [apache-opennlp](https://www.automicvault.com/pkg/brew/apache-opennlp/) - Shares av.db curated category or tags: apache, cli, developer-tools.
- [brew-php-switcher](https://www.automicvault.com/pkg/brew/brew-php-switcher/) - Shares av.db curated category or tags: apache, cli, developer-tools.
- [bsdconv](https://www.automicvault.com/pkg/brew/bsdconv/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [subversion](https://www.automicvault.com/pkg/brew/subversion/) - Local package facts share a topical domain. Shared terms: apache, apr, apr-util, cli, developer.
- [activemq-cpp](https://www.automicvault.com/pkg/brew/activemq-cpp/) - Local package facts share a topical domain. Shared terms: apache, apr, cli, config, developer.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
