How To Install metslib-devel on Fedora 36

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

Introduction

In this tutorial we learn how to install metslib-devel on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install metslib-devel.

Install metslib-devel on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove metslib-devel

metslib-devel Package Contents on Fedora 36

/usr/include/metslib-0.5
/usr/include/metslib-0.5/metslib
/usr/include/metslib-0.5/metslib/abstract-search.hh
/usr/include/metslib-0.5/metslib/local-search.hh
/usr/include/metslib-0.5/metslib/mets.hh
/usr/include/metslib-0.5/metslib/metslib_ah.hh
/usr/include/metslib-0.5/metslib/metslib_config.hh
/usr/include/metslib-0.5/metslib/model.hh
/usr/include/metslib-0.5/metslib/observer.hh
/usr/include/metslib-0.5/metslib/simulated-annealing.hh
/usr/include/metslib-0.5/metslib/tabu-search.hh
/usr/include/metslib-0.5/metslib/termination-criteria.hh
/usr/share/doc/metslib-devel
/usr/share/doc/metslib-devel/AUTHORS
/usr/share/doc/metslib-devel/COPYING
/usr/share/doc/metslib-devel/NEWS
/usr/share/doc/metslib-devel/README
/usr/share/pkgconfig/metslib.pc

References

Summary

In this tutorial we learn how to install metslib-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).