# Installer mcpp avec Homebrew, apt, MacPorts, Nix, pacman, zypper

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

## installation

```sh
sudo av install brew:mcpp
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install mcpp
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mcpp
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install mcpp
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mcpp
```

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

- pacman (92%):

```sh
sudo pacman -S mcpp
```

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

- zypper (92%):

```sh
sudo zypper install mcpp
```

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

## Faits du paquet

- **Clé du paquet:** brew:mcpp
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.7.2
- **Résumé source:** Alternative C/C++ preprocessor
- **Page d'accueil:** <https://mcpp.sourceforge.net/>
- **Dernière mise à jour:** 2026-06-19T12:32:39-07:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- mcpp (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

mcpp is a portable C/C++ preprocessor and validation suite by Kiyoshi Matsui. The official site describes it as an independent preprocessor that implements C90, C99, and C++98 preprocessing behavior, provides diagnostics, and can be built as a compiler-specific preprocessor, a compiler-independent command, or a subroutine library.

### Historique du projet

The project was created to address portability and conformance problems in traditional compiler-bundled preprocessors. Its official homepage says mcpp was selected for Japan IPA's Exploratory Software Projects in both 2002 and 2003.

The public SourceForge-hosted project surface dates from April 2006, and the official homepage lists V.2.7.2 from November 2008 as the latest release.

### Historique d'adoption

mcpp was packaged both as upstream binary archives and by operating-system distributions. The official download page documents FreeBSD, Linux RPM and deb, Mac OS X, and Windows packages, and separately notes distribution packages for Fedora, Debian, Ubuntu, OpenSUSE, Gentoo, Slackware, and MacPorts.

Distribution packaging split the executable, shared library, development files, and documentation on Fedora and Debian-family systems, which made mcpp useful as a reusable compiler-toolchain component rather than only as a standalone command.

### Modes d'utilisation

The command-line program is installed as `mcpp`. The official download page points users to the bundled manual and explains that source archives include source code, a validation suite, and English and Japanese documentation.

Typical package-manager usage is installing a small preprocessor tool or library for C/C++ toolchains, conformance testing, macro debugging, or historical build compatibility.

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

mcpp matters to package nerds because it is a small compiler component that was packaged independently of a full compiler. Its history includes classic Unix packaging patterns: source tarballs, RPMs, debs, ports, a shared library package, development headers, and documentation packages.

It is also a useful example of an important package whose official presence is an old project homepage and release archive rather than a modern canonical Git repository.

### Chronologie

- 2002: Selected for IPA Exploratory Software Projects.
- 2003: Selected again for IPA Exploratory Software Projects.
- 2006-04: Project located on SourceForge.
- 2008-11: V.2.7.2 released.

### Related projects

- mcpp is related to GCC, Visual C++, C and C++ compiler toolchains, and distribution packages such as `mcpp`, `libmcpp`, `libmcpp-dev`, and `mcpp-doc`.

### Sources

- <https://mcpp.sourceforge.net/>
- <https://mcpp.sourceforge.net/download.html>


## 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 - libmcpp-dev - 2.7.2-5.2: normalized package name match | Debian stable package indexes: libmcpp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Alternative C/C++ preprocessor (development files) | http://mcpp.sourceforge.net/
- Debian apt - libmcpp0 - 2.7.2-5.2: normalized package name match | Debian stable package indexes: libmcpp0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Alternative C/C++ preprocessor (shared library) | http://mcpp.sourceforge.net/
- Debian apt - mcpp - 2.7.2-5.2: normalized package name match | Debian stable package indexes: mcpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Alternative C/C++ preprocessor | http://mcpp.sourceforge.net/
- Debian apt - mcpp-doc - 2.7.2-5.2: normalized package name match | Debian stable package indexes: mcpp-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Alternative C/C++ preprocessor (manual) | http://mcpp.sourceforge.net/
- Nix - mcpp: normalized package name match | nixpkgs package indexes: pkgs/by-name/mc/mcpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmcpp-dev - 2.7.2-5.1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmcpp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Alternative C/C++ preprocessor (development files) | http://mcpp.sourceforge.net/
- Ubuntu apt - libmcpp0 - 2.7.2-5.1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmcpp0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Alternative C/C++ preprocessor (shared library) | http://mcpp.sourceforge.net/
- Ubuntu apt - mcpp - 2.7.2-5.1: normalized package name match | Ubuntu 24.04 LTS package indexes: mcpp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Alternative C/C++ preprocessor | http://mcpp.sourceforge.net/
- Ubuntu apt - mcpp-doc - 2.7.2-5.1: normalized package name match | Ubuntu 24.04 LTS package indexes: mcpp-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Alternative C/C++ preprocessor (manual) | http://mcpp.sourceforge.net/
- pacman - mcpp - 2.7.2.3-1: normalized package name match | Arch Linux sync databases: mcpp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Matsui's CPP implementation precisely conformed to standards | http://mcpp.sourceforge.net
- zypper - libmcpp0 - 2.7.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libmcpp0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The shared library of Matsui's C Preprocessor | https://mcpp.sourceforge.net/
- zypper - mcpp - 2.7.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: mcpp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Matsui's C Preprocessor | https://mcpp.sourceforge.net/
- zypper - mcpp-devel - 2.7.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: mcpp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for mcpp | https://mcpp.sourceforge.net/
- MacPorts - mcpp: normalized package name match | MacPorts ports tree: devel/mcpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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