Skip to content

Commit 81abc75

Browse files
committed
CDRIVER-4797 Restore documentation describing dev packages (#1495)
* note distinction of development packages * fix typo * describe how to check version
1 parent 9bc003a commit 81abc75

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/libmongoc/doc/learn/get/installing.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Yum/DNF.
194194
# yum install epel-release
195195

196196
`epel-release` must be installed before attempting to install the C driver
197-
libraries (i.e. one cannot install them both in a single `yum intsall`
197+
libraries (i.e. one cannot install them both in a single `yum install`
198198
command).
199199

200200
To install |libbson| only, install the `libbson-devel` package::
@@ -207,6 +207,10 @@ To install the full C database driver (|libmongoc|), install
207207
## (This package will transitively install libbson-devel)
208208
# yum install mongo-c-driver-devel
209209

210+
To check which version is available, see https://packages.fedoraproject.org/pkgs/mongo-c-driver/mongo-c-driver-devel.
211+
212+
The development packages (ending in `-devel`) include files required to build applications using |libbson| and |libmongoc|.
213+
To only install the libraries without development files, install the `libbson` or `mongo-c-driver-libs` packages.
210214

211215
.. index::
212216
!pair: installation; Debian
@@ -232,6 +236,10 @@ To install |libmongoc| (which will also install |libbson|)::
232236

233237
# apt install libmongoc-dev
234238

239+
To check which version is available, run `apt-cache policy libmongoc-dev`.
240+
241+
The development packages (ending in `-dev`) include files required to build applications using |libbson| and |libmongoc|.
242+
To only install the libraries without development files, install the `libbson-1.0-0` or `libmongoc-1.0-0` packages.
235243

236244
.. index::
237245
!pair: installation; macOS

src/libmongoc/doc/ref/packages.rst

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Package Names and Availability
2121

2222
This table details the names and usage notes of such packages.
2323

24+
.. note::
25+
26+
The development packages (ending in ``-dev`` or ``-devel``) include files required to build applications using |libbson| and |libmongoc|.
27+
2428
.. seealso::
2529

2630
For a step-by-step tutorial on installing packages, refer to

0 commit comments

Comments
 (0)