How To Install libbson on Rocky Linux 8

In this tutorial we learn how to install libbson on Rocky Linux 8. libbson is Building, parsing, and iterating BSON documents

Introduction

In this tutorial we learn how to install libbson on Rocky Linux 8.

What is libbson

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libbson.

Install libbson on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libbson using dnf by running the following command:

sudo dnf -y install libbson

Install libbson on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

To uninstall only the libbson package we can use the following command:

sudo dnf remove libbson

libbson Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/ee7ce8b482761f55bf09082870609136a4203a
/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

References

Summary

In this tutorial we learn how to install libbson on Rocky Linux 8 using yum and dnf.