macOS
brew install mongo-c-driver@1local Homebrew formula metadata
sudo port install mongo-c-driverMacPorts ports tree · devel/mongo-c-driver/Portfile · source: api.github.com
brew
C driver for MongoDB. Version 1.30.8 via Homebrew; verified 2026-05-19. Also installable with debian: sudo apt install libbson-1.0-0t64.
install
brew install mongo-c-driver@1local Homebrew formula metadata
sudo port install mongo-c-driverMacPorts ports tree · devel/mongo-c-driver/Portfile · source: api.github.com
sudo apk add mongo-c-driverAlpine Linux edge package indexes · mongo-c-driver · source: dl-cdn.alpinelinux.org
sudo dnf install mongo-c-driverFedora Rawhide package metadata · mongo-c-driver · source: dl.fedoraproject.org
sudo pacman -S mongo-c-driverArch Linux sync databases · mongo-c-driver · source: geo.mirror.pkgbuild.com
sudo apt install libbson-1.0-0t64Debian stable package indexes · libbson-1.0-0t64 · source: deb.debian.org
sudo zypper install bson-developenSUSE Tumbleweed package metadata · bson-devel · source: download.opensuse.org
overview
C driver for MongoDB
history
mongo-c-driver@1 is Homebrew's versioned formula for the 1.x line of MongoDB's official C driver. It points at the same upstream mongo-c-driver project as the main formula, but Homebrew marks it as a deprecated, keg-only package. That makes it a compatibility package for builds that still need the 1.x libmongoc/libbson ABI or have not moved to the 2.x formula.
The upstream role is the same as mongo-c-driver generally: libmongoc is the C client library for MongoDB, and libbson provides BSON construction, parsing, and iteration. MongoDB's v1.x release-note page documents the 1.30 series and other maintained 1.x releases, while the combined release notes show 2.0.0 as a breaking release that removed deprecated APIs. The practical package-manager distinction is therefore not a different project history but a major-version boundary.
In use, mongo-c-driver@1 is selected by software with conservative dependency constraints, older bindings, or build systems that expect 1.x library names and headers. It is much more niche than the main formula: Homebrew's package page reports far fewer installs than mongo-c-driver, matching its role as a transition and compatibility package rather than the default driver.
security posture
No matching local secret-handling manifest was found for mongo-c-driver@1. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mongoc-stat | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/mongodb/mongo-c-driver
install metadata
| Package key | brew:mongo-c-driver@1 |
|---|---|
| Version | 1.30.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mongo-c-driver@1 |
| Homepage | https://github.com/mongodb/mongo-c-driver |
| Repository | https://github.com/mongodb/mongo-c-driver |
| Upstream docs | https://github.com/mongodb/mongo-c-driver#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/mongodb/mongo-c-driver/archive/refs/tags/1.30.8.tar.gz |
| Last updated | 2026-05-19T13:03:29-04:00 |
| Pulse | updated |
| Dependencies | openssl@3, zstd |
| Build dependencies | cmake, pkgconf, sphinx-doc |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mongo-c-driver@1 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libbson-1.0-0t64 1.30.4-1+deb13u2
Library to parse and generate BSON documents - runtime files
https://github.com/mongodb/mongo-c-driver
sudo apt install libbson-1.0-0t64libbson-dev 1.30.4-1+deb13u2
Library to parse and generate BSON documents - dev files
https://github.com/mongodb/mongo-c-driver
sudo apt install libbson-devlibbson-doc 1.30.4-1+deb13u2
Library to parse and generate BSON documents - documentation
https://github.com/mongodb/mongo-c-driver
sudo apt install libbson-doclibmongoc-1.0-0t64 1.30.4-1+deb13u2
MongoDB C client library - runtime files
https://github.com/mongodb/mongo-c-driver
sudo apt install libmongoc-1.0-0t64libmongoc-dev 1.30.4-1+deb13u2
MongoDB C client library - dev files
https://github.com/mongodb/mongo-c-driver
sudo apt install libmongoc-devlibmongoc-doc 1.30.4-1+deb13u2
MongoDB C client library - documentation
https://github.com/mongodb/mongo-c-driver
sudo apt install libmongoc-doclibbson-1.0-0t64 1.26.0-1.1ubuntu2
Library to parse and generate BSON documents - runtime files
https://github.com/mongodb/mongo-c-driver
sudo apt install libbson-1.0-0t64libbson-dev 1.26.0-1.1ubuntu2
Library to parse and generate BSON documents - dev files
https://github.com/mongodb/mongo-c-driver
sudo apt install libbson-devlibbson-doc 1.26.0-1.1ubuntu2
Library to parse and generate BSON documents - documentation
https://github.com/mongodb/mongo-c-driver
sudo apt install libbson-doclibmongoc-1.0-0t64 1.26.0-1.1ubuntu2
MongoDB C client library - runtime files
https://github.com/mongodb/mongo-c-driver
sudo apt install libmongoc-1.0-0t64libmongoc-dev 1.26.0-1.1ubuntu2
MongoDB C client library - dev files
https://github.com/mongodb/mongo-c-driver
sudo apt install libmongoc-devlibmongoc-doc 1.26.0-1.1ubuntu2
MongoDB C client library - documentation
https://github.com/mongodb/mongo-c-driver
sudo apt install libmongoc-doclibbson 1.30.6-r0
Building, parsing, and iterating BSON documents
https://github.com/mongodb/mongo-c-driver
sudo apk add libbsonlibbson-dev 1.30.6-r0
Client library written in C for MongoDB (development files)
https://github.com/mongodb/mongo-c-driver
sudo apk add libbson-devlibbson-static 1.30.6-r0
Client library written in C for MongoDB (static library)
https://github.com/mongodb/mongo-c-driver
sudo apk add libbson-staticmongo-c-driver 1.30.6-r0
Client library written in C for MongoDB
https://github.com/mongodb/mongo-c-driver
sudo apk add mongo-c-driversource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.