# mongo-c-driver mit Homebrew, apk, dnf, MacPorts, pacman, apt, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mongo-c-driver in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:mongo-c-driver
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install mongo-c-driver
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mongo-c-driver
```

  Evidenz: MacPorts ports tree: devel/mongo-c-driver/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mongo-c-driver
```

  Evidenz: Alpine Linux edge package indexes: mongo-c-driver from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install mongo-c-driver
```

  Evidenz: Fedora Rawhide package metadata: mongo-c-driver 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 mongo-c-driver
```

  Evidenz: Arch Linux sync databases: mongo-c-driver from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libbson-1.0-0t64
```

  Evidenz: Debian stable package indexes: libbson-1.0-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install bson-devel
```

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

## Paketfakten

- **Paketschlüssel:** brew:mongo-c-driver
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/mongo-c-driver>
- **Version:** 2.3.3
- **Quellzusammenfassung:** C driver for MongoDB
- **Homepage:** <https://github.com/mongodb/mongo-c-driver>
- **Repository:** <https://github.com/mongodb/mongo-c-driver>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://github.com/mongodb/mongo-c-driver/archive/refs/tags/2.3.3.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-14T15:57:27Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- mongoc2-stat (cli)
- mongoc2-stat (Alias)

## Abhängigkeiten

- openssl@3
- zstd

## Build-Abhängigkeiten

- cmake
- pkgconf
- sphinx-doc

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.3.3
- Manager aktualisiert: 2026-07-14
- lokale Daten: OK
- Upstream-Repository: https://github.com/mongodb/mongo-c-driver
- neueste erkannte Version: 2.3.3 (aktuell)
## Projektgeschichte und Nutzung

mongo-c-driver is MongoDB's official C client-driver project. The documentation identifies libmongoc as the official driver for C applications and explains that it depends on libbson for creating and parsing BSON, MongoDB's native document format. The project therefore serves two audiences: C programs that connect directly to MongoDB, and higher-level drivers or bindings that need a maintained C implementation underneath.

### Projektgeschichte

The driver line has been packaged under several names. Homebrew notes mongo-c-driver as also known as libmongoc and mongo-c-driver@2, and formerly known as mongo-c. The upstream API site describes the package as a cross-platform MongoDB client library for C and for writing drivers in higher-level languages, while the GitHub repository summarizes the project as libmongoc plus libbson and points contributors to MongoDB's driver documentation and support channels.

### Adoptionsgeschichte

The 2.x series is the main Homebrew formula. MongoDB's release notes mark 2.0.0 as a breaking release that removed deprecated types and methods, added BSON Binary Vector subtype support in libbson, and added libmongoc support for aggregate operations that include lookup stages for in-use encryption. Later 2.x notes show the driver continuing to track server features such as OIDC authentication variants, Queryable Encryption operations, client-side timeout behavior, overload handling, and other production-driver concerns.

### Wie es verwendet wird

In practice the formula is installed when building C applications against MongoDB, compiling software that embeds MongoDB access through libmongoc, or satisfying native dependencies for language bindings and tools. It sits beside server packages and higher-level MongoDB drivers: users rarely run it as an end-user database tool, but many builds need its headers, libraries, pkg-config/CMake metadata, and small diagnostic utility.

### Quellen

- <https://formulae.brew.sh/formula/mongo-c-driver>
- <https://github.com/mongodb/mongo-c-driver>
- <https://mongoc.org/>
- <https://www.mongodb.com/docs/languages/c/c-driver/current/>
- <https://www.mongodb.com/docs/languages/c/c-driver/current/reference/release-notes/>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mongo-c-driver
- **Aliases:** libmongoc, mongo-c-driver@2
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - libbson-1.0-0t64 - 1.30.4-1+deb13u2: normalized package name match | Debian stable package indexes: libbson-1.0-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library to parse and generate BSON documents - runtime files | https://github.com/mongodb/mongo-c-driver
- Debian apt - libbson-dev - 1.30.4-1+deb13u2: normalized package name match | Debian stable package indexes: libbson-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library to parse and generate BSON documents - dev files | https://github.com/mongodb/mongo-c-driver
- Debian apt - libbson-doc - 1.30.4-1+deb13u2: normalized package name match | Debian stable package indexes: libbson-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library to parse and generate BSON documents - documentation | https://github.com/mongodb/mongo-c-driver
- Debian apt - libmongoc-1.0-0t64 - 1.30.4-1+deb13u2: normalized package name match | Debian stable package indexes: libmongoc-1.0-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MongoDB C client library - runtime files | https://github.com/mongodb/mongo-c-driver
- Debian apt - libmongoc-dev - 1.30.4-1+deb13u2: normalized package name match | Debian stable package indexes: libmongoc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MongoDB C client library - dev files | https://github.com/mongodb/mongo-c-driver
- Debian apt - libmongoc-doc - 1.30.4-1+deb13u2: normalized package name match | Debian stable package indexes: libmongoc-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MongoDB C client library - documentation | https://github.com/mongodb/mongo-c-driver
- Ubuntu apt - libbson-1.0-0t64 - 1.26.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libbson-1.0-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library to parse and generate BSON documents - runtime files | https://github.com/mongodb/mongo-c-driver
- Ubuntu apt - libbson-dev - 1.26.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libbson-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library to parse and generate BSON documents - dev files | https://github.com/mongodb/mongo-c-driver
- Ubuntu apt - libbson-doc - 1.26.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libbson-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library to parse and generate BSON documents - documentation | https://github.com/mongodb/mongo-c-driver
- Ubuntu apt - libmongoc-1.0-0t64 - 1.26.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libmongoc-1.0-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MongoDB C client library - runtime files | https://github.com/mongodb/mongo-c-driver
- Ubuntu apt - libmongoc-dev - 1.26.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libmongoc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MongoDB C client library - dev files | https://github.com/mongodb/mongo-c-driver
- Ubuntu apt - libmongoc-doc - 1.26.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libmongoc-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MongoDB C client library - documentation | https://github.com/mongodb/mongo-c-driver
- apk - libbson - 1.30.6-r1: normalized package name match | Alpine Linux edge package indexes: libbson from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Building, parsing, and iterating BSON documents | https://github.com/mongodb/mongo-c-driver
- apk - libbson-dev - 1.30.6-r1: normalized package name match | Alpine Linux edge package indexes: libbson-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Client library written in C for MongoDB (development files) | https://github.com/mongodb/mongo-c-driver
- apk - libbson-static - 1.30.6-r1: normalized package name match | Alpine Linux edge package indexes: libbson-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Client library written in C for MongoDB (static library) | https://github.com/mongodb/mongo-c-driver
- apk - mongo-c-driver - 1.30.6-r1: normalized package name match | Alpine Linux edge package indexes: mongo-c-driver from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Client library written in C for MongoDB | https://github.com/mongodb/mongo-c-driver


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://pkg.so/de/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/de/brew/zstd/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/de/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/de/brew/cmake/) - Build dependency declared by Homebrew.
- [sphinx-doc](https://pkg.so/de/brew/sphinx-doc/) - Build dependency declared by Homebrew.
- [syslog-ng](https://pkg.so/de/brew/syslog-ng/) - Popular package that depends on this formula.
- [fastnetmon](https://pkg.so/de/brew/fastnetmon/) - Popular package that depends on this formula.
- [treefrog](https://pkg.so/de/brew/treefrog/) - Popular package that depends on this formula.
- [sdb](https://pkg.so/de/brew/sdb/) - Shares pkgdb curated category or tags: c, cli, data, database.
- [ejdb](https://pkg.so/de/brew/ejdb/) - Shares pkgdb curated category or tags: c, cli, data, database.
- [mysql](https://pkg.so/de/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@14](https://pkg.so/de/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@16](https://pkg.so/de/brew/postgresql-16/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@17](https://pkg.so/de/brew/postgresql-17/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@18](https://pkg.so/de/brew/postgresql-18/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@15](https://pkg.so/de/brew/postgresql-15/) - Shares pkgdb curated category or tags: cli, data, database.
- [pgloader](https://pkg.so/de/brew/pgloader/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, openssl, openssl-3.
- [mongo-migrate-ts](https://pkg.so/de/npm/mongo-migrate-ts/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, mongo, mongodb.

## Combined YAML source

View the package source record on GitHub. [combined/mongo-c-driver.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mongo-c-driver.yml)


## Quellen

- 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
