How To Install mongo-cxx-driver on Fedora 36

In this tutorial we learn how to install mongo-cxx-driver in Fedora 36. mongo-cxx-driver is A C++ Driver for MongoDB

Introduction

In this tutorial we learn how to install mongo-cxx-driver on Fedora 36.

What is mongo-cxx-driver

This package provides the shared library for the MongoDB C++ Driver.

We can use yum or dnf to install mongo-cxx-driver on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mongo-cxx-driver.

Install mongo-cxx-driver on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mongo-cxx-driver using dnf by running the following command:

sudo dnf -y install mongo-cxx-driver

Install mongo-cxx-driver on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mongo-cxx-driver using yum by running the following command:

sudo yum -y install mongo-cxx-driver

How To Uninstall mongo-cxx-driver on Fedora 36

To uninstall only the mongo-cxx-driver package we can use the following command:

sudo dnf remove mongo-cxx-driver

mongo-cxx-driver Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/1052801ac10b0d5f9f2914cdf81dd15f643b2c
/usr/lib/libmongocxx.so.3.6.5
/usr/lib/libmongocxx.so._noabi
/usr/share/doc/mongo-cxx-driver
/usr/share/doc/mongo-cxx-driver/README.md
/usr/share/licenses/mongo-cxx-driver
/usr/share/licenses/mongo-cxx-driver/LICENSE
/usr/share/licenses/mongo-cxx-driver/THIRD-PARTY-NOTICES

References

Summary

In this tutorial we learn how to install mongo-cxx-driver on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install mongo-cxx-driver on Fedora 36” linkTitle: “mongo-cxx-driver” type: “docs” description: “In this tutorial we learn how to install mongo-cxx-driver in Fedora 36. mongo-cxx-driver is A C++ Driver for MongoDB” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/mongo-cxx-driver-featured.png

Introduction

In this tutorial we learn how to install mongo-cxx-driver on Fedora 36.

What is mongo-cxx-driver

This package provides the shared library for the MongoDB C++ Driver.

We can use yum or dnf to install mongo-cxx-driver on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mongo-cxx-driver.

Install mongo-cxx-driver on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mongo-cxx-driver using dnf by running the following command:

sudo dnf -y install mongo-cxx-driver

Install mongo-cxx-driver on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mongo-cxx-driver using yum by running the following command:

sudo yum -y install mongo-cxx-driver

How To Uninstall mongo-cxx-driver on Fedora 36

To uninstall only the mongo-cxx-driver package we can use the following command:

sudo dnf remove mongo-cxx-driver

mongo-cxx-driver Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/98fcfd97e1a54262fc2e98960cc0f93fe3d60a
/usr/lib64/libmongocxx.so.3.6.5
/usr/lib64/libmongocxx.so._noabi
/usr/share/doc/mongo-cxx-driver
/usr/share/doc/mongo-cxx-driver/README.md
/usr/share/licenses/mongo-cxx-driver
/usr/share/licenses/mongo-cxx-driver/LICENSE
/usr/share/licenses/mongo-cxx-driver/THIRD-PARTY-NOTICES

References

Summary

In this tutorial we learn how to install mongo-cxx-driver on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).