macOS
brew install mongo-c-driverlocal Homebrew formula metadata
sudo port install mongo-c-driverMacPorts ports tree · devel/mongo-c-driver/Portfile · ソース: api.github.com
brew
mongo-c-driver のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install mongo-c-driverlocal Homebrew formula metadata
sudo port install mongo-c-driverMacPorts ports tree · devel/mongo-c-driver/Portfile · ソース: api.github.com
sudo apk add mongo-c-driverAlpine Linux edge package indexes · mongo-c-driver · ソース: dl-cdn.alpinelinux.org
sudo dnf install mongo-c-driverFedora Rawhide package metadata · mongo-c-driver · ソース: dl.fedoraproject.org
sudo pacman -S mongo-c-driverArch Linux sync databases · mongo-c-driver · ソース: geo.mirror.pkgbuild.com
sudo apt install libbson-1.0-0t64Debian stable package indexes · libbson-1.0-0t64 · ソース: deb.debian.org
sudo zypper install bson-developenSUSE Tumbleweed package metadata · bson-devel · ソース: download.opensuse.org
概要
C driver for MongoDB
履歴
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.
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.
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.
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
mongoc2-stat | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/mongodb/mongo-c-driver
インストールメタデータ
| パッケージキー | brew:mongo-c-driver |
|---|---|
| バージョン | 2.3.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/mongo-c-driver |
| ホームページ | https://github.com/mongodb/mongo-c-driver |
| リポジトリ | https://github.com/mongodb/mongo-c-driver |
| 上流ドキュメント | https://www.mongoc.org/ |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/mongodb/mongo-c-driver/archive/refs/tags/2.3.2.tar.gz |
| 最終更新 | 2026-07-07T16:38:47Z |
| Pulse | updated |
| 依存関係 | openssl@3, zstd |
| ビルド依存関係 | cmake, pkgconf, sphinx-doc |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mongo-c-driver |
| Aliases |
|
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-driverソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.