How To Install libbson on Fedora 34
Introduction
In this tutorial we learn how to install libbson
on Fedora 34.
What is libbson
This is a library providing useful routines related to building, parsing, and iterating BSON documents <http libbson 1.18.0 1.fc34 x86_64 94 k mongo-c-driver-1.18.0-1.fc34.src.rpm updates Building, parsing, and iterating BSON documents https ASL 2.0 and ISC and MIT and zlib This is a library providing useful routines related to building, parsing, and iterating BSON documents <http
We can use yum
or dnf
to install libbson
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libbson.
Install libbson on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libbson
using dnf
by running the following command:
sudo dnf -y install libbson
Install libbson on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libbson
using yum
by running the following command:
sudo yum -y install libbson
How To Uninstall libbson on Fedora 34
To uninstall only the libbson
package we can use the following command:
sudo dnf remove libbson
libbson Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/9b0275240f977bb691bb9a4234971c2453f18d
/usr/lib64/libbson-1.0.so.0
/usr/lib64/libbson-1.0.so.0.0.0
/usr/share/licenses/libbson
/usr/share/licenses/libbson/COPYING
/usr/share/licenses/libbson/THIRD_PARTY_NOTICES
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/e55243bff08b1f97e71d1ab2008faab3350934
/usr/lib/libbson-1.0.so.0
/usr/lib/libbson-1.0.so.0.0.0
/usr/share/licenses/libbson
/usr/share/licenses/libbson/COPYING
/usr/share/licenses/libbson/THIRD_PARTY_NOTICES
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/1bc56664bfdd34e038f7558129acaef07214e5
/usr/lib64/libbson-1.0.so.0
/usr/lib64/libbson-1.0.so.0.0.0
/usr/share/licenses/libbson
/usr/share/licenses/libbson/COPYING
/usr/share/licenses/libbson/THIRD_PARTY_NOTICES
/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/c7461a9e2f1a1927e5279f546818f71f3b85dc
/usr/lib/libbson-1.0.so.0
/usr/lib/libbson-1.0.so.0.0.0
/usr/share/licenses/libbson
/usr/share/licenses/libbson/COPYING
/usr/share/licenses/libbson/THIRD_PARTY_NOTICES
References
- [libbson website](https://github.com/mongodb/mongo-c-driver https://github.com/mongodb/mongo-c-driver)
Summary
In this tutorial we learn how to install libbson
on Fedora 34 using yum and dnf.