How To Install mongo-c-driver on Fedora 36
Introduction
In this tutorial we learn how to install mongo-c-driver
on Fedora 36.
What is mongo-c-driver
mongo-c-driver is a client library written in C for MongoDB.
We can use yum
or dnf
to install mongo-c-driver
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mongo-c-driver.
Install mongo-c-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-c-driver
using dnf
by running the following command:
sudo dnf -y install mongo-c-driver
Install mongo-c-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-c-driver
using yum
by running the following command:
sudo yum -y install mongo-c-driver
How To Uninstall mongo-c-driver on Fedora 36
To uninstall only the mongo-c-driver
package we can use the following command:
title: "How To Install mongo-c-driver on Fedora 36"
sudo dnf remove mongo-c-driver
linkTitle: "mongo-c-driver"
type: “docs”
mongo-c-driver Package Contents on Fedora 36
description: “In this tutorial we learn how to install mongo-c-driver in Fedora 36. mongo-c-driver is Client library written in C for MongoDB”
date: “2022-08-17”
lastmod: "2022-08-17"
#image: /images/fedora/36/mongo-c-driver-featured.png
---
## Introduction
In this tutorial we learn how to install `mongo-c-driver` on Fedora 36.
### What is `mongo-c-driver`
> mongo-c-driver is a client library written in C for MongoDB.
We can use `yum` or `dnf` to install `mongo-c-driver` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mongo-c-driver.
## Install mongo-c-driver on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install mongo-c-driver
using dnf
by running the following command:
sudo dnf -y install mongo-c-driver
Install mongo-c-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-c-driver
using yum
by running the following command:
sudo yum -y install mongo-c-driver
How To Uninstall mongo-c-driver on Fedora 36
To uninstall only the mongo-c-driver
package we can use the following command:
sudo dnf remove mongo-c-driver
mongo-c-driver Package Contents on Fedora 36
/usr/bin/mongoc-stat /usr/lib/.build-id /usr/lib/.build-id/f0 /usr/lib/.build-id/f0/1f86ad1dc6ae60b7188cd5bd7ef8882bf45a83
References
Summary
In this tutorial we learn how to install mongo-c-driver
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/mongoc-stat /usr/lib/.build-id /usr/lib/.build-id/c7 /usr/lib/.build-id/c7/349c7b2dce0e13eafef97e9ab79821f4d268f1
## References
* [mongo-c-driver website](https://github.com/mongodb/mongo-c-driver)
## Summary
In this tutorial we learn how to install `mongo-c-driver` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).