How To Install rmol on Rocky Linux 8

In this tutorial we learn how to install rmol on Rocky Linux 8. rmol is C++ library of Revenue Management and Optimisation classes and functions

Introduction

In this tutorial we learn how to install rmol on Rocky Linux 8.

What is rmol

rmol is a C++ library of Revenue Management and Optimisation classes and functions. Typically, that library may be used by service providers (e.g., airlines offering flight seats, hotels offering rooms, rental car companies offering rental days, broadcasting company offering advertisement slots, theaters offering seats, etc.) to help in optimizing their revenues from seat capacities. Most of the algorithms implemented are public and documented in the following book The Theory and practice of Revenue Management, by Kalyan T. Talluri and Garrett J. van Ryzin, Kluwer Academic Publishers, 2004, ISBN 1-4020-7701-7 rmol makes an extensive use of existing open-source libraries for increased functionality, speed and accuracy. In particular the Boost (C++ Standard Extensions Install the rmol package if you need a library of basic C++ objects for Airline Revenue Management (RM), mainly for simulation purpose.

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

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

sudo dnf -y install rmol

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

sudo yum -y install rmol

How To Uninstall rmol on Rocky Linux 8

To uninstall only the rmol package we can use the following command:

sudo dnf remove rmol

rmol Package Contents on Rocky Linux 8

/usr/bin/rmol
/usr/bin/rmol_extractBPC
/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/40f22098be083516eda074f49a2af0844f7bad
/usr/lib/.build-id/88
/usr/lib/.build-id/88/a2ca81ba8e8986af5216e70ac1ceda555f8c52
/usr/lib64/librmol.so.1.00
/usr/lib64/librmol.so.1.00.3
/usr/share/doc/rmol
/usr/share/doc/rmol/AUTHORS
/usr/share/doc/rmol/COPYING
/usr/share/doc/rmol/ChangeLog
/usr/share/doc/rmol/NEWS
/usr/share/doc/rmol/README.md
/usr/share/man/man1/rmol.1.gz
/usr/share/man/man1/rmol_extractBPC.1.gz

References

Summary

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