# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **Version:** 1.6.3
- **Source summary:** Companion library to apr, the Apache Portable Runtime library
- **Homepage:** <https://apr.apache.org/>
- **Last updated:** 2026-06-22T14:02:44-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- apu-1-config (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.6.3
## 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

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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
