# Installer cppunit avec Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cppunit pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cppunit
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cppunit
```

  Preuve: 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
```

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

- dnf (92%):

```sh
sudo dnf install cppunit
```

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

- Nix (92%):

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

  Preuve: 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
```

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

- Debian apt (92%):

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

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

- zypper (92%):

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

  Preuve: openSUSE Tumbleweed package metadata: cppunit-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:cppunit
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.15.1
- **Résumé source:** Unit testing framework for C++
- **Page d'accueil:** <https://wiki.freedesktop.org/www/Software/cppunit/>
- **Dernière mise à jour:** 2026-06-28T00:26:54-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- DllPlugInTester (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.15.1
## Historique du projet et usages

CppUnit is a C++ unit-testing framework modeled on JUnit. Its official documentation describes it as the C++ port of JUnit and points users to cookbook-style examples and generated API documentation.

### Historique du projet

The official Doxygen documentation traces CppUnit to Michael Feathers' first C++ port of JUnit, followed by Jerome Lacoste's Unix/Solaris port. The CppUnit project combined and extended those earlier efforts rather than starting as an isolated implementation.

The freedesktop.org project page describes the current project as a continuation of the original CppUnit project and hosts source access, release tarballs, and contribution instructions under the LibreOffice/freedesktop infrastructure.

### Historique d'adoption

CppUnit became a conventional packaged dependency for C and C++ projects that wanted xUnit-style tests without bundling a framework. Its source distribution and release tarballs are exposed from the freedesktop.org/LibreOffice infrastructure, and the package is distributed by Homebrew and major Unix-like package managers in the input package metadata.

### Modes d'utilisation

The framework is used to define C++ unit tests, run them through command-line or GUI-oriented runners, and emit XML test output for automated test systems.

### Pourquoi les passionnés de paquets s'y intéressent

CppUnit matters to package maintainers because it is both a library and a test dependency: downstream builds often need the headers and library for test suites, while the installed package may also expose utilities such as DllPlugInTester.

### Chronologie

- Early project: Michael Feathers produced the first C++ port of JUnit.
- Early project: Jerome Lacoste provided a Unix/Solaris port.
- Freedesktop era: the project continued under freedesktop.org with LibreOffice-associated source hosting and release tarballs.

### Related projects

- JUnit supplied the model for CppUnit's xUnit-style testing approach.
- LibreOffice/freedesktop.org provide the current project hosting and release infrastructure.

### Sources

- <https://people.freedesktop.org/~mmohrhard/cppunit/>
- <https://wiki.freedesktop.org/www/Software/cppunit/>
- <https://formulae.brew.sh/formula/cppunit>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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-28.fc45: normalized package name match | Fedora Rawhide package metadata: cppunit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C++ unit testing framework | https://www.freedesktop.org/wiki/Software/cppunit/
- dnf - cppunit-devel - 1.15.1-28.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Libraries and headers for cppunit development | https://www.freedesktop.org/wiki/Software/cppunit/
- dnf - cppunit-doc - 1.15.1-28.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.26: normalized package name match | openSUSE Tumbleweed package metadata: cppunit-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Include Files and Libraries for cppunit | https://www.freedesktop.org/wiki/Software/cppunit
- zypper - cppunit-devel-32bit - 1.15.1-1.26: normalized package name match | openSUSE Tumbleweed package metadata: cppunit-devel-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Include Files and Libraries for cppunit | https://www.freedesktop.org/wiki/Software/cppunit


## Combined YAML source

View the package source record on GitHub. [combined/cppunit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cppunit.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
