How To Install boost-serialization on Rocky Linux 8

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

Introduction

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

What is boost-serialization

Run-time support for serialization for persistence and marshaling.

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

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

sudo dnf -y install boost-serialization

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

sudo yum -y install boost-serialization

How To Uninstall boost-serialization on Rocky Linux 8

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

sudo dnf remove boost-serialization

boost-serialization Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/0103eeaa319f80693d024dfa3a599b9a00f40e
/usr/lib/.build-id/76
/usr/lib/.build-id/76/5f498345a17d9e114c8274486c6ac50cd6bae7
/usr/lib/libboost_serialization.so.1.66.0
/usr/lib/libboost_wserialization.so.1.66.0
/usr/share/licenses/boost-serialization
/usr/share/licenses/boost-serialization/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/7482fc3c0f5d725d86ef45a72b1978bc130261
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/504e7e0b61b3314ec97119df896850d744cfb9
/usr/lib64/libboost_serialization.so.1.66.0
/usr/lib64/libboost_wserialization.so.1.66.0
/usr/share/licenses/boost-serialization
/usr/share/licenses/boost-serialization/LICENSE_1_0.txt

References

Summary

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