How To Install trademgen on Rocky Linux 8

In this tutorial we learn how to install trademgen on Rocky Linux 8. trademgen is C++ Simulated Travel Demand Generation Library

Introduction

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

What is trademgen

trademgen aims at providing a clean API, and the corresponding C++ implementation, able to generate demand for travel solutions (e.g., from JFK to PEK on 25-05-2009) according to characteristics (e.g., Willingness-To-Pay, preferred airline, etc). trademgen makes an extensive use of existing open-source libraries for increased functionality, speed and accuracy. In particular the Boost (C++ Standard Extensions Install the trademgen package if you need a library of basic C++ objects for travel-related demand generation, mainly for simulation purpose.

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

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

sudo dnf -y install trademgen

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

sudo yum -y install trademgen

How To Uninstall trademgen on Rocky Linux 8

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

sudo dnf remove trademgen

trademgen Package Contents on Rocky Linux 8

/usr/bin/trademgen
/usr/bin/trademgen_extractBookingRequests
/usr/bin/trademgen_generateDemand
/usr/bin/trademgen_with_db
/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/829920cc05e87033635eb918c618dfab04f013
/usr/lib/.build-id/68
/usr/lib/.build-id/68/dcc1a1de81b976f17c612fbe6941fe0be687e5
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ddb32c1af5e1e455f140192c3993e51aebe394
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/c57350ac022cd1bab8124616e3d9d6c5822e02
/usr/lib64/libtrademgen.so.1.00
/usr/lib64/libtrademgen.so.1.00.4
/usr/share/doc/trademgen
/usr/share/doc/trademgen/AUTHORS
/usr/share/doc/trademgen/COPYING
/usr/share/doc/trademgen/ChangeLog
/usr/share/doc/trademgen/NEWS
/usr/share/doc/trademgen/README.md
/usr/share/man/man1/trademgen.1.gz
/usr/share/man/man1/trademgen_extractBookingRequests.1.gz
/usr/share/man/man1/trademgen_generateDemand.1.gz
/usr/share/man/man1/trademgen_with_db.1.gz

References

Summary

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