How To Install stdair on CentOS 8
Introduction
In this tutorial we learn how to install stdair
on CentOS 8.
What is stdair
stdair aims at providing a clean API, and the corresponding C++ implementation, for the basis of Airline IT and travel distribution Business Object Model (BOM), that is, to be used by several other open source projects, such as AirRAC, RMOL, AirInv, AvlCal, AirSched, SimFQT, SimLFS, SimCRS, TravelCCM, SEvMgr, TraDemGen, DSim, OpenTREP, etc. Install the stdair package if you need a library of basic C++ objects for Airline IT (e.g., schedule management, inventory, revenue management, revenue accounting), travel distribution, demand generation and customer choice modeling, mainly for simulation purpose.
We can use yum
or dnf
to install stdair
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install stdair.
Install stdair 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 stdair
using dnf
by running the following command:
sudo dnf -y install stdair
Install stdair 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 stdair
using yum
by running the following command:
sudo yum -y install stdair
How To Uninstall stdair on CentOS 8
To uninstall only the stdair
package we can use the following command:
sudo dnf remove stdair
stdair Package Contents on CentOS 8
/usr/bin/stdair
/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/6f51f240daed2072caeadfb10ed5ce8e11b91c
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/0409a5d81a557989119e648e6c131bb05d9eee
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/5624c8c38b1255d52a8d3febef2e0765c87425
/usr/lib64/libstdair.so.1.00
/usr/lib64/libstdair.so.1.00.8
/usr/lib64/libstdairuicl.so.1.00
/usr/lib64/libstdairuicl.so.1.00.8
/usr/libexec/stdair
/usr/libexec/stdair/clean_a_table.sh
/usr/libexec/stdair/clean_all_tables.sh
/usr/libexec/stdair/count_a_table.sh
/usr/libexec/stdair/count_all_tables.sh
/usr/libexec/stdair/create_airinv_db.sh
/usr/libexec/stdair/create_airinv_user.sh
/usr/libexec/stdair/create_tvlsim_db.sh
/usr/libexec/stdair/create_tvlsim_user.sh
/usr/libexec/stdair/dump_airinv_db_structure.sh
/usr/libexec/stdair/dump_tvlsim_db_structure.sh
/usr/libexec/stdair/load_airinv_tvlsim_data.sh
/usr/libexec/stdair/load_tvlsim_data.sh
/usr/share/doc/stdair
/usr/share/doc/stdair/AUTHORS
/usr/share/doc/stdair/COPYING
/usr/share/doc/stdair/ChangeLog
/usr/share/doc/stdair/NEWS
/usr/share/doc/stdair/README.md
/usr/share/man/man1/stdair.1.gz
/usr/share/stdair
/usr/share/stdair/db
/usr/share/stdair/db/data
/usr/share/stdair/db/data/airlines.csv
/usr/share/stdair/db/data/create_airinv_tables.sql
/usr/share/stdair/db/data/create_airinv_user.sql
/usr/share/stdair/db/data/create_tvlsim_tables.sql
/usr/share/stdair/db/data/create_tvlsim_user.sql
/usr/share/stdair/db/data/fill_airinv_tables.sql
/usr/share/stdair/db/data/fill_tvlsim_tables.sql
/usr/share/stdair/samples
/usr/share/stdair/samples/HybridForecasting
/usr/share/stdair/samples/HybridForecasting/demand.csv
/usr/share/stdair/samples/HybridForecasting/fare.csv
/usr/share/stdair/samples/HybridForecasting/schedule.csv
/usr/share/stdair/samples/HybridForecasting/yield.csv
/usr/share/stdair/samples/IBP_study
/usr/share/stdair/samples/IBP_study/demand01.csv
/usr/share/stdair/samples/IBP_study/fare01.csv
/usr/share/stdair/samples/IBP_study/ond01.csv
/usr/share/stdair/samples/IBP_study/schedule01.csv
/usr/share/stdair/samples/IBP_study/yield01.csv
/usr/share/stdair/samples/NewQFF
/usr/share/stdair/samples/NewQFF/instance01
/usr/share/stdair/samples/NewQFF/instance01/demand.csv
/usr/share/stdair/samples/NewQFF/instance01/fare.csv
/usr/share/stdair/samples/NewQFF/instance01/schedule.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleA-A.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleA-B.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleA-C.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleA-D.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleA-E.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleB-A.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleB-B.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleB-C.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleB-D.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleB-E.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleC-A.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleC-B.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleC-C.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleC-D.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleC-E.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleD-A.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleD-B.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleD-C.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleD-D.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleD-E.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleE-A.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleE-B.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleE-C.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleE-D.csv
/usr/share/stdair/samples/NewQFF/instance01/scheduleE-E.csv
/usr/share/stdair/samples/NewQFF/instance01/yield.csv
/usr/share/stdair/samples/NewQFF/instance02
/usr/share/stdair/samples/NewQFF/instance02/demand.csv
/usr/share/stdair/samples/NewQFF/instance02/fare.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-A-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-A-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-A-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-B-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-B-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-B-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-C-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-C-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleA-C-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-A-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-A-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-A-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-B-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-B-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-B-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-C-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-C-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleB-C-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-A-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-A-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-A-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-B-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-B-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-B-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-C-A.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-C-B.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-C-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleC-C.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleD-D.csv
/usr/share/stdair/samples/NewQFF/instance02/scheduleE-E.csv
/usr/share/stdair/samples/NewQFF/instance02/yield.csv
/usr/share/stdair/samples/OldQFF
/usr/share/stdair/samples/OldQFF/instance01
/usr/share/stdair/samples/OldQFF/instance01/demand.csv
/usr/share/stdair/samples/OldQFF/instance01/fare.csv
/usr/share/stdair/samples/OldQFF/instance01/schedule.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleA-A.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleA-B.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleA-C.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleA-D.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleA-E.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleA-F.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleB-A.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleB-B.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleB-C.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleB-D.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleB-E.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleB-F.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleC-A.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleC-B.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleC-C.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleC-D.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleC-E.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleC-F.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleD-A.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleD-B.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleD-C.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleD-D.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleD-E.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleD-F.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleE-A.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleE-B.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleE-C.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleE-D.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleE-E.csv
/usr/share/stdair/samples/OldQFF/instance01/scheduleE-F.csv
/usr/share/stdair/samples/OldQFF/instance01/yield.csv
/usr/share/stdair/samples/OldQFF/instance02
/usr/share/stdair/samples/OldQFF/instance02/demand.csv
/usr/share/stdair/samples/OldQFF/instance02/fare.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-A-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-A-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-A-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-C-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-C-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-C-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-E-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-E-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleB-E-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-A-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-A-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-A-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-C-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-C-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-C-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-E-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-E-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleC-E-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-A-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-A-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-A-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-C-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-C-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-C-E.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-E-A.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-E-C.csv
/usr/share/stdair/samples/OldQFF/instance02/scheduleD-E-E.csv
/usr/share/stdair/samples/OldQFF/instance02/yield.csv
/usr/share/stdair/samples/QForecasting
/usr/share/stdair/samples/QForecasting/demand.csv
/usr/share/stdair/samples/QForecasting/fare.csv
/usr/share/stdair/samples/QForecasting/schedule.csv
/usr/share/stdair/samples/QForecasting/yield.csv
/usr/share/stdair/samples/demand01.csv
/usr/share/stdair/samples/fare01.csv
/usr/share/stdair/samples/fareError01.csv
/usr/share/stdair/samples/fareError02.csv
/usr/share/stdair/samples/fareError03.csv
/usr/share/stdair/samples/fareError04.csv
/usr/share/stdair/samples/fareError05.csv
/usr/share/stdair/samples/fareError06.csv
/usr/share/stdair/samples/fareError07.csv
/usr/share/stdair/samples/ffDisutility.csv
/usr/share/stdair/samples/frat5.csv
/usr/share/stdair/samples/invdump01.csv
/usr/share/stdair/samples/invdump02.csv
/usr/share/stdair/samples/ond01.csv
/usr/share/stdair/samples/rds01
/usr/share/stdair/samples/rds01/demand.csv
/usr/share/stdair/samples/rds01/demand02.csv
/usr/share/stdair/samples/rds01/demand03.csv
/usr/share/stdair/samples/rds01/demand05.csv
/usr/share/stdair/samples/rds01/fare.csv
/usr/share/stdair/samples/rds01/fare02.csv
/usr/share/stdair/samples/rds01/schedule.csv
/usr/share/stdair/samples/rds01/schedule03.csv
/usr/share/stdair/samples/rds01/schedule05.csv
/usr/share/stdair/samples/rds01/yield.csv
/usr/share/stdair/samples/rds01/yield03.csv
/usr/share/stdair/samples/rm01.csv
/usr/share/stdair/samples/rm02.csv
/usr/share/stdair/samples/rm03.csv
/usr/share/stdair/samples/rm04.csv
/usr/share/stdair/samples/rm05.csv
/usr/share/stdair/samples/rm06.csv
/usr/share/stdair/samples/rm07.csv
/usr/share/stdair/samples/rm08.csv
/usr/share/stdair/samples/rm09.csv
/usr/share/stdair/samples/rm10.csv
/usr/share/stdair/samples/rm11.csv
/usr/share/stdair/samples/schedule01.csv
/usr/share/stdair/samples/schedule02.csv
/usr/share/stdair/samples/schedule03.csv
/usr/share/stdair/samples/schedule04.csv
/usr/share/stdair/samples/schedule05.csv
/usr/share/stdair/samples/schedule06.csv
/usr/share/stdair/samples/schedule07.csv
/usr/share/stdair/samples/scheduleError01.csv
/usr/share/stdair/samples/scheduleError02.csv
/usr/share/stdair/samples/scheduleError03.csv
/usr/share/stdair/samples/yieldstore01.csv
/usr/share/stdair/samples/yieldstoreError01.csv
References
Summary
In this tutorial we learn how to install stdair
on CentOS 8 using yum and dnf.