How To Install boost-log on Rocky Linux 8

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

Introduction

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

What is boost-log

Boost.Log library aims to make logging significantly easier for the application developer. It provides a wide range of out-of-the-box tools along with public interfaces for extending the library.

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

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

sudo dnf -y install boost-log

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

sudo yum -y install boost-log

How To Uninstall boost-log on Rocky Linux 8

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

sudo dnf remove boost-log

boost-log Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/fe089a86004d66288307e8dff2c72e444beb33
/usr/lib/.build-id/de
/usr/lib/.build-id/de/b21816a687249cbd282387575b32cca4e15dde
/usr/lib64/libboost_log.so.1.66.0
/usr/lib64/libboost_log_setup.so.1.66.0
/usr/share/licenses/boost-log
/usr/share/licenses/boost-log/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/95ed0c92645bc4488eb0a325993266e33dde0f
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/bd8336b6eac76feebb056cd484d02dadadc604
/usr/lib/libboost_log.so.1.66.0
/usr/lib/libboost_log_setup.so.1.66.0
/usr/share/licenses/boost-log
/usr/share/licenses/boost-log/LICENSE_1_0.txt

References

Summary

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