How To Install travelccm on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install travelccm on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install travelccm.

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

sudo dnf -y install travelccm

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

sudo yum -y install travelccm

How To Uninstall travelccm on AlmaLinux 8

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

sudo dnf remove travelccm

References

Summary

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