Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions src/libmongoc/doc/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,23 @@ The libmongoc package is available on recent versions of Debian and Ubuntu.

.. code-block:: none

$ apt-get install libmongoc-1.0-0
$ apt-get install libmongoc-dev

The ``libmongoc-dev`` package includes headers required to build applications using libmongoc. To check which version is available, run ``apt-cache policy libmongoc-dev``. To only install the libraries without headers, install the ``libmongoc-1.0-0`` package.

On Fedora, a mongo-c-driver package is available in the default repositories and can be installed with:

.. code-block:: none

$ dnf install mongo-c-driver
$ dnf install mongo-c-driver-devel

The ``mongo-c-driver-devel`` package includes headers required to build applications using libmongoc. To check which version is available, see https://packages.fedoraproject.org/pkgs/mongo-c-driver/mongo-c-driver-devel. To only install the libraries without headers, install the ``mongo-c-driver`` package.

On recent Red Hat systems, such as CentOS and RHEL 7, a mongo-c-driver package is available in the `EPEL <https://fedoraproject.org/wiki/EPEL>`_ repository. To check which version is available, see `https://packages.fedoraproject.org/pkgs/mongo-c-driver/mongo-c-driver/ <https://packages.fedoraproject.org/pkgs/mongo-c-driver/mongo-c-driver/>`_. The package can be installed with:
On recent Red Hat systems, such as CentOS and RHEL 7, a mongo-c-driver-devel package is available in the `EPEL <https://fedoraproject.org/wiki/EPEL>`_ repository. The package can be installed with:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am OK with directing Fedora/RHEL users to the websites, since there is not as much a proliferation of derivatives as with Debian and Ubuntu.

.. code-block:: none

$ yum install mongo-c-driver
$ yum install mongo-c-driver-devel

On macOS systems with Homebrew, the mongo-c-driver package can be installed with:

Expand All @@ -62,22 +66,25 @@ The libbson package is available on recent versions of Debian and Ubuntu. If you

.. code-block:: none

$ apt-get install libbson-1.0-0
$ apt-get install libbson-dev

The ``libbson-dev`` package includes headers required to build applications using libbson. To check which version is available, run ``apt-cache policy libbson-dev``. To only install the libraries without headers, install the ``libbson-1.0-0`` package.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as with the comment above about libmongoc-dev.

On Fedora, a libbson package is available in the default repositories and can be installed with:

.. code-block:: none

$ dnf install libbson
$ dnf install libbson-devel

The ``libbson-devel`` package includes headers required to build applications using libbson. To check
which version is available, see https://packages.fedoraproject.org/pkgs/mongo-c-driver/libbson-devel. To only install the libraries without headers, install the ``libbson`` package.

On recent Red Hat systems, such as CentOS and RHEL 7, a libbson package
is available in the `EPEL <https://fedoraproject.org/wiki/EPEL>`_ repository. To check
which version is available, see `https://packages.fedoraproject.org/pkgs/mongo-c-driver/libbson/ <https://packages.fedoraproject.org/pkgs/mongo-c-driver/libbson/>`_.
On recent Red Hat systems, such as CentOS and RHEL 7, a libbson package is available in the `EPEL <https://fedoraproject.org/wiki/EPEL>`_ repository.
The package can be installed with:

.. code-block:: none

$ yum install libbson
$ yum install libbson-devel

Build environment
-----------------
Expand Down