How To Install boost-type_erasure on Rocky Linux 8
Introduction
In this tutorial we learn how to install boost-type_erasure
on Rocky Linux 8.
What is boost-type_erasure
The Boost.TypeErasure library provides runtime polymorphism in C++ that is more flexible than that provided by the core language.
We can use yum
or dnf
to install boost-type_erasure
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install boost-type_erasure.
Install boost-type_erasure 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-type_erasure
using dnf
by running the following command:
sudo dnf -y install boost-type_erasure
Install boost-type_erasure 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-type_erasure
using yum
by running the following command:
sudo yum -y install boost-type_erasure
How To Uninstall boost-type_erasure on Rocky Linux 8
To uninstall only the boost-type_erasure
package we can use the following command:
sudo dnf remove boost-type_erasure
boost-type_erasure Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/48960375bc285fc018eacdf040669046d8c371
/usr/lib/libboost_type_erasure.so.1.66.0
/usr/share/licenses/boost-type_erasure
/usr/share/licenses/boost-type_erasure/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/111cf0cc649129b72e250b4da27cb389da0829
/usr/lib64/libboost_type_erasure.so.1.66.0
/usr/share/licenses/boost-type_erasure
/usr/share/licenses/boost-type_erasure/LICENSE_1_0.txt
References
Summary
In this tutorial we learn how to install boost-type_erasure
on Rocky Linux 8 using yum and dnf.