How To Install boost-serialization on CentOS 8

boost-serialization is Run-time component of boost serialization library Run-time component of boost serialization library

Introduction

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

What is boost-serialization

Run-time support for serialization for persistence and marshaling. boost-serialization 1.66.0 10.el8 x86_64 122 k boost-1.66.0-10.el8.src.rpm appstream Run-time component of boost serialization library http Boost and MIT and Python Run-time support for serialization for persistence and marshaling.

We can use yum or dnf to install boost-serialization on CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove boost-serialization

boost-serialization Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/d49060b7f378a1cf832c57a510004a3aca271f
/usr/lib/.build-id/35
/usr/lib/.build-id/35/e2e78d00b3ed54330e5ca37ec489c4dcafc980
/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 CentOS 8 using yum and dnf.