How To Install travelccm on Rocky Linux 8

In this tutorial we learn how to install travelccm on Rocky Linux 8. travelccm is C++ Travel Customer Choice Model (CCM) Library

Introduction

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

What is travelccm

travelccm aims at providing a clean API, and the corresponding C++ implementation, for choosing one item among a set of travel solutions, given demand-related characteristics (e.g., Willingness-To-Pay, preferred airline, preferred cabin, etc.). The travelccm C++ library implements some simple Customer Choice Models (CCM), as referenced in the literature (PhD dissertations at MIT, for instance The travelccm C++ library exposes a simple, clean and object-oriented, API. For instance, the choose() method takes, as input, both a structure representing the travel request (e.g., “from Washington, DC, US, to Beijing, China, on the 25th of May”) and a list of travel solutions (as provided by the Airline Schedule Manager project http chosen item. The output can then be used by other systems, for instance to book the corresponding travel or to visualize it on a map and calendar and to share it with others. travelccm makes an extensive use of existing open-source libraries for increased functionality, speed and accuracy. In particular the Boost (C++ Standard Extensions Install the travelccm package if you need a library of basic C++ objects for Customer-Choice Modeling (CCM), mainly for simulation purpose.

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

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

sudo dnf -y install travelccm

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

sudo yum -y install travelccm

How To Uninstall travelccm on Rocky Linux 8

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

sudo dnf remove travelccm

travelccm Package Contents on Rocky Linux 8

/usr/bin/travelccm
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/547a4149448c2926c414a35fc15db0e71bbdf5
/usr/lib/.build-id/db
/usr/lib/.build-id/db/fac5fbb5cef8c9ff1cb03228a558966647f73f
/usr/lib64/libtravelccm.so.1.00
/usr/lib64/libtravelccm.so.1.00.4
/usr/share/doc/travelccm
/usr/share/doc/travelccm/AUTHORS
/usr/share/doc/travelccm/COPYING
/usr/share/doc/travelccm/ChangeLog
/usr/share/doc/travelccm/NEWS
/usr/share/doc/travelccm/README.md
/usr/share/man/man1/travelccm.1.gz

References

Summary

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