mongo_c_driver: MongoDB Client Library for C

Description

The MongoDB C Driver, also known as “libmongoc”, is a library for using MongoDB from C applications, and for writing MongoDB drivers in higher-level languages.

In passagemath, it is used as a prerequisite of polymake’s polyDB.

License

Apache 2.0

Upstream Contact

https://mongoc.org/

Type

optional

Dependencies

Version Information

package-version.txt:

1.30.6

See https://repology.org/project/mongo-c-driver/versions

Installation commands

$ sage -i mongo_c_driver
$ apk add mongo-c-driver-dev
$ sudo pacman -S mongo-c-driver
$ conda install libmongoc
$ sudo apt-get install libmongoc-dev
$ sudo dnf install libmongoc-devel
$ sudo emerge dev-libs/mongo-c-driver
$ brew install mongo-c-driver
$ sudo port install mongo-c-driver
$ sudo pacman -S ${MINGW_PACKAGE_PREFIX}-mongo-c-driver
$ nix-env -f \'\<nixpkgs\>\' --install --attr mongoc
$ sudo zypper install mongo-c-driver
$ sudo xbps-install mongo-c-driver-devel

If the system package is installed, ./configure will check if it can be used.