How To Install travelccm on Fedora 34

travelccm is C++ Travel Customer Choice Model (CCM) Library C++ Travel Customer Choice Model (CCM) Library

Introduction

In this tutorial we learn how to install travelccm on Fedora 34.

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 Travel Solution Provider (AirTSP) project 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. travelccm 1.00.5 7.fc34 x86_64 72 k travelccm-1.00.5-7.fc34.src.rpm fedora C++ Travel Customer Choice Model (CCM) Library https LGPLv2+ 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 Travel Solution Provider (AirTSP) project 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install travelccm.

Install travelccm on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install travelccm using dnf by running the following command:

sudo dnf -y install travelccm

Install travelccm on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove travelccm

travelccm Package Contents on Fedora 34

/usr/bin/travelccm
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/d3578324e1eb35931f1569baa8105f433a9f1a
/usr/lib/.build-id/24
/usr/lib/.build-id/24/b92063cbd3ab57f6f3daaa60dbed91a4e6a237
/usr/lib/libtravelccm.so.1.00
/usr/lib/libtravelccm.so.1.00.5
/usr/share/doc/travelccm
/usr/share/doc/travelccm/AUTHORS
/usr/share/doc/travelccm/ChangeLog
/usr/share/doc/travelccm/NEWS
/usr/share/doc/travelccm/README.md
/usr/share/licenses/travelccm
/usr/share/licenses/travelccm/COPYING
/usr/share/man/man1/travelccm.1.gz
/usr/bin/travelccm
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/5750fe8a6a240b04a17bb4baca9e4febd63cdd
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/ee0314d3af09bcf9570294cce1f0a01d31e04a
/usr/lib64/libtravelccm.so.1.00
/usr/lib64/libtravelccm.so.1.00.5
/usr/share/doc/travelccm
/usr/share/doc/travelccm/AUTHORS
/usr/share/doc/travelccm/ChangeLog
/usr/share/doc/travelccm/NEWS
/usr/share/doc/travelccm/README.md
/usr/share/licenses/travelccm
/usr/share/licenses/travelccm/COPYING
/usr/share/man/man1/travelccm.1.gz

References

Summary

In this tutorial we learn how to install travelccm on Fedora 34 using yum and dnf.