How To Install boost-iostreams on Rocky Linux 8

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

Introduction

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

What is boost-iostreams

Run-time support for Boost.Iostreams, a framework for defining streams, stream buffers and i/o filters.

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

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

sudo dnf -y install boost-iostreams

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

sudo yum -y install boost-iostreams

How To Uninstall boost-iostreams on Rocky Linux 8

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

sudo dnf remove boost-iostreams

boost-iostreams Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/3eceb5a26fae9ac079e8ab5e970c7102b4de49
/usr/lib/libboost_iostreams.so.1.66.0
/usr/share/licenses/boost-iostreams
/usr/share/licenses/boost-iostreams/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/7e6a9556eedd17340f1dfd01cbd7195df08019
/usr/lib64/libboost_iostreams.so.1.66.0
/usr/share/licenses/boost-iostreams
/usr/share/licenses/boost-iostreams/LICENSE_1_0.txt

References

Summary

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