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

Companion library to apr, the Apache Portable Runtime library. Version 1.6.3 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install libaprutil1-dbd-mysql.

## 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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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

- 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

- 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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/>
- **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-08-04T22:13:35+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-08-04
- 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://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openssl@3](https://pkg.so/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [apr](https://pkg.so/brew/apr/) - Runtime dependency declared by Homebrew.
- [php](https://pkg.so/brew/php/) - Popular package that depends on this formula.
- [subversion](https://pkg.so/brew/subversion/) - Popular package that depends on this formula.
- [httpd](https://pkg.so/brew/httpd/) - Popular package that depends on this formula.
- [php@8.3](https://pkg.so/brew/php-8-3/) - Popular package that depends on this formula.
- [php@8.2](https://pkg.so/brew/php-8-2/) - Popular package that depends on this formula.
- [php@8.4](https://pkg.so/brew/php-8-4/) - Popular package that depends on this formula.
- [php@8.1](https://pkg.so/brew/php-8-1/) - Popular package that depends on this formula.
- [nspr](https://pkg.so/brew/nspr/) - Shares pkgdb curated category or tags: cli, developer-tools, library, portable-runtime.
- [glib](https://pkg.so/brew/glib/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [pcre2](https://pkg.so/brew/pcre2/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [harfbuzz](https://pkg.so/brew/harfbuzz/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [gettext](https://pkg.so/brew/gettext/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [ncurses](https://pkg.so/brew/ncurses/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [expat](https://pkg.so/brew/expat/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [activemq-cpp](https://pkg.so/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/mxcl/pkgdb/blob/main/combined/apr-util.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
