How To Install boost-system on Rocky Linux 8

In this tutorial we learn how to install boost-system on Rocky Linux 8. boost-system is Run-time component of boost system support library

Introduction

In this tutorial we learn how to install boost-system on Rocky Linux 8.

What is boost-system

Run-time component of Boost operating system support library, including the diagnostics support that is part of the C++11 standard library.

We can use yum or dnf to install boost-system on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install boost-system.

Install boost-system 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 boost-system using dnf by running the following command:

sudo dnf -y install boost-system

Install boost-system 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 boost-system using yum by running the following command:

sudo yum -y install boost-system

How To Uninstall boost-system on Rocky Linux 8

To uninstall only the boost-system package we can use the following command:

sudo dnf remove boost-system

boost-system Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/088fb20620d6c01279fe6f86f9f2277fd4f382
/usr/lib64/libboost_system.so.1.66.0
/usr/share/licenses/boost-system
/usr/share/licenses/boost-system/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/3f87103e53cdbf7700f51866256c9ce4d6e43d
/usr/lib/libboost_system.so.1.66.0
/usr/share/licenses/boost-system
/usr/share/licenses/boost-system/LICENSE_1_0.txt

References

Summary

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