How To Install trademgen on CentOS 8
Introduction
In this tutorial we learn how to install trademgen
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install trademgen.
Install trademgen on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install trademgen
using dnf
by running the following command:
sudo dnf -y install trademgen
Install trademgen on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the trademgen
package we can use the following command:
sudo dnf remove trademgen
trademgen Package Contents on CentOS 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 CentOS 8 using yum and dnf.