# Install cppunit

Unit testing framework for C++. Version 1.15.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:cppunit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cppunit
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cppunit
```

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

### Linux

- apk (92%):

```sh
sudo apk add cppunit
```

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

- Debian apt (92%):

```sh
sudo apt install libcppunit-1.15-0
```

  Evidence: Debian stable package indexes: libcppunit-1.15-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cppunit
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cppunit
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cp/cppunit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cppunit
```

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

- zypper (92%):

```sh
sudo zypper install cppunit-devel
```

  Evidence: openSUSE Tumbleweed package metadata: cppunit-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:cppunit
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/cppunit>
- **Version:** 1.15.1
- **Source summary:** Unit testing framework for C++
- **Homepage:** <https://wiki.freedesktop.org/www/Software/cppunit/>
- **Repository:** <https://cgit.freedesktop.org/libreoffice/cppunit>
- **Upstream docs:** <https://people.freedesktop.org/~mmohrhard/cppunit>
- **License:** LGPL-2.1-only
- **Source archive:** <https://dev-www.libreoffice.org/src/cppunit-1.15.1.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- DllPlugInTester (cli)
- DllPlugInTester (alias)

## 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, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.15.1
- Local data status: ok
- Upstream repository: https://wiki.freedesktop.org/www/Software/cppunit/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libcppunit-1.15-0 - 1.15.1-4+b2: normalized package name match | Debian stable package indexes: libcppunit-1.15-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Unit Testing Library for C++ | https://www.freedesktop.org/wiki/Software/cppunit
- Debian apt - libcppunit-dev - 1.15.1-4+b2: normalized package name match | Debian stable package indexes: libcppunit-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Unit Testing Library for C++ - development library | https://www.freedesktop.org/wiki/Software/cppunit
- Debian apt - libcppunit-doc - 1.15.1-4: normalized package name match | Debian stable package indexes: libcppunit-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Unit Testing Library for C++ - documentation | https://www.freedesktop.org/wiki/Software/cppunit
- Nix - cppunit: normalized package name match | nixpkgs package indexes: pkgs/by-name/cp/cppunit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcppunit-1.15-0 - 1.15.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcppunit-1.15-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Unit Testing Library for C++ | https://www.freedesktop.org/wiki/Software/cppunit
- Ubuntu apt - libcppunit-dev - 1.15.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcppunit-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Unit Testing Library for C++ - development library | https://www.freedesktop.org/wiki/Software/cppunit
- Ubuntu apt - libcppunit-doc - 1.15.1-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcppunit-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Unit Testing Library for C++ - documentation | https://www.freedesktop.org/wiki/Software/cppunit
- apk - cppunit - 1.15.1-r4: normalized package name match | Alpine Linux edge package indexes: cppunit from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C++ unit testing framework | https://www.freedesktop.org/wiki/Software/cppunit/
- apk - cppunit-dev - 1.15.1-r4: normalized package name match | Alpine Linux edge package indexes: cppunit-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C++ unit testing framework (development files) | https://www.freedesktop.org/wiki/Software/cppunit/
- apk - cppunit-doc - 1.15.1-r4: normalized package name match | Alpine Linux edge package indexes: cppunit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C++ unit testing framework (documentation) | https://www.freedesktop.org/wiki/Software/cppunit/
- dnf - cppunit - 1.15.1-27.fc44: normalized package name match | Fedora Rawhide package metadata: cppunit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | C++ unit testing framework | https://www.freedesktop.org/wiki/Software/cppunit/
- dnf - cppunit-devel - 1.15.1-27.fc44: normalized package name match | Fedora Rawhide package metadata: cppunit-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Libraries and headers for cppunit development | https://www.freedesktop.org/wiki/Software/cppunit/
- dnf - cppunit-doc - 1.15.1-27.fc44: normalized package name match | Fedora Rawhide package metadata: cppunit-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | HTML formatted API documention for cppunit | https://www.freedesktop.org/wiki/Software/cppunit/
- pacman - cppunit - 1.15.1-5: normalized package name match | Arch Linux sync databases: cppunit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A C++ unit testing framework | https://www.freedesktop.org/wiki/Software/cppunit
- zypper - cppunit-devel - 1.15.1-1.24: normalized package name match | openSUSE Tumbleweed package metadata: cppunit-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Include Files and Libraries for cppunit | https://www.freedesktop.org/wiki/Software/cppunit
- zypper - cppunit-devel-32bit - 1.15.1-1.24: normalized package name match | openSUSE Tumbleweed package metadata: cppunit-devel-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Include Files and Libraries for cppunit | https://www.freedesktop.org/wiki/Software/cppunit


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [check](https://www.automicvault.com/zh-hans/pkg/brew/check/) - Shares av.db curated category or tags: c, cli, developer-tools, library, testing.
- [cutter-cli](https://www.automicvault.com/zh-hans/pkg/brew/cutter-cli/) - Shares av.db curated category or tags: c, cli, developer-tools, testing, unit-testing.
- [pytest](https://www.automicvault.com/zh-hans/pkg/brew/pytest/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [phpunit](https://www.automicvault.com/zh-hans/pkg/brew/phpunit/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [busted](https://www.automicvault.com/zh-hans/pkg/brew/busted/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [cxxtest](https://www.automicvault.com/zh-hans/pkg/brew/cxxtest/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [shunit2](https://www.automicvault.com/zh-hans/pkg/brew/shunit2/) - Shares av.db curated category or tags: cli, developer-tools, testing, unit-testing.
- [creduce](https://www.automicvault.com/zh-hans/pkg/brew/creduce/) - Shares av.db curated category or tags: c, cli, developer-tools, testing.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
