How To Install metslib-devel on AlmaLinux 8

In this tutorial we learn how to install metslib-devel in AlmaLinux 8. metslib-devel is Metaheuristic modeling framework and optimization toolkit in modern C++

Introduction

In this tutorial we learn how to install metslib-devel on AlmaLinux 8.

What is metslib-devel

METSlib is a metaheuristic modeling framework and optimization toolkit in modern C++ released as Free/Libre/Open Source Software. Model and algorithms are modular same model. On the other hand no assumption is made on the model, you can work on any problem type bin-packing and so on. Once you have implemented your model in the problem framework, the library makes easy testing different Tabu Search strategies or even different algorithms (Simulated Annealing or other local search based algorithms) with a few lines of code.

We can use yum or dnf to install metslib-devel on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install metslib-devel.

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

sudo dnf -y install metslib-devel

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

sudo yum -y install metslib-devel

How To Uninstall metslib-devel on AlmaLinux 8

To uninstall only the metslib-devel package we can use the following command:

sudo dnf remove metslib-devel

References

Summary

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