How To Install trademgen on AlmaLinux 8

In this tutorial we learn how to install trademgen in AlmaLinux 8. trademgen is C++ Simulated Travel Demand Generation Library

Introduction

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

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

sudo dnf -y install trademgen

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

sudo yum -y install trademgen

How To Uninstall trademgen on AlmaLinux 8

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

sudo dnf remove trademgen

References

Summary

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