How To Install trademgen on Fedora 34
Introduction
In this tutorial we learn how to install trademgen
on Fedora 34.
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. trademgen 1.00.6 7.fc34 x86_64 308 k trademgen-1.00.6-7.fc34.src.rpm fedora C++ Simulated Travel Demand Generation Library https LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install trademgen.
Install trademgen 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 trademgen
using dnf
by running the following command:
sudo dnf -y install trademgen
Install trademgen 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 trademgen
using yum
by running the following command:
sudo yum -y install trademgen
How To Uninstall trademgen on Fedora 34
To uninstall only the trademgen
package we can use the following command:
sudo dnf remove trademgen
trademgen Package Contents on Fedora 34
/usr/bin/trademgen
/usr/bin/trademgen_drawBookingArrivals
/usr/bin/trademgen_extractBookingRequests
/usr/bin/trademgen_generateDemand
/usr/bin/trademgen_with_db
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/b4c5ef370f24bf8084b2f8d3b087bf09320c91
/usr/lib/.build-id/77
/usr/lib/.build-id/77/75c31a92ccdddfaeca2589be01d58a77f71980
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/01da3b094a27931cb456e21be645b13fbf526a
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/3fb368da089852e9e79208c023a9aa26a64925
/usr/lib/libtrademgen.so.1.00
/usr/lib/libtrademgen.so.1.00.6
/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_drawBookingArrivals.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
/usr/bin/trademgen
/usr/bin/trademgen_drawBookingArrivals
/usr/bin/trademgen_extractBookingRequests
/usr/bin/trademgen_generateDemand
/usr/bin/trademgen_with_db
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/aefcb3b9e0b576ac6c30a1ed89a49b7f2a8128
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/530f886b6fe66e2eda01bbc41bdcfa41416094
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/58880a50ff284fd5af51f0b79035cdc6a530b6
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/9280d01458c94b0a891838e5a2fccc7233c0d9
/usr/lib64/libtrademgen.so.1.00
/usr/lib64/libtrademgen.so.1.00.6
/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_drawBookingArrivals.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
- [trademgen website](https://github.com/airsim/trademgen https://github.com/airsim/trademgen)
Summary
In this tutorial we learn how to install trademgen
on Fedora 34 using yum and dnf.