How To Install boost-type_erasure on AlmaLinux 8

In this tutorial we learn how to install boost-type_erasure in AlmaLinux 8. boost-type_erasure is Run-time component of boost type erasure library

Introduction

In this tutorial we learn how to install boost-type_erasure on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove boost-type_erasure

References

Summary

In this tutorial we learn how to install boost-type_erasure on AlmaLinux 8 using yum and dnf.