How To Install rmol on CentOS 8
Introduction
In this tutorial we learn how to install rmol
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rmol.
Install rmol on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install rmol
using dnf
by running the following command:
sudo dnf -y install rmol
Install rmol on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the rmol
package we can use the following command:
sudo dnf remove rmol
rmol Package Contents on CentOS 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 CentOS 8 using yum and dnf.