How To Install airinv on CentOS 8

airinv is C++ Simulated Airline Inventory Management System library

Introduction

In this tutorial we learn how to install airinv on CentOS 8.

What is airinv

airinv is a C++ library of airline inventory management classes and functions, mainly targeting simulation purposes. airinv makes an extensive use of existing open-source libraries for increased functionality, speed and accuracy. In particular the Boost (C++ Standard Extensions Install the airinv package if you need a library of basic C++ objects for Airline Inventory Management, mainly for simulation purpose.

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

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

sudo dnf -y install airinv

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

sudo yum -y install airinv

How To Uninstall airinv on CentOS 8

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

sudo dnf remove airinv

airinv Package Contents on CentOS 8

/usr/bin/AirInvClient
/usr/bin/AirInvServer
/usr/bin/airinv
/usr/bin/airinv_parseInventory
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/4d6006484c07341d82417cc78d962ce5a62a1a
/usr/lib/.build-id/78
/usr/lib/.build-id/78/7f840522285051f7c5cd3b6116e6c7accd42f6
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/2a39f628130da78f8ef03ab3372129526b5b46
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/f5110e45da7288e12bdc1f722b443f5b763b1a
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/5e58dcba74b4c6e148c54d9a5267efd40584b7
/usr/lib64/libairinv.so.1.00
/usr/lib64/libairinv.so.1.00.3
/usr/share/doc/airinv
/usr/share/doc/airinv/AUTHORS
/usr/share/doc/airinv/COPYING
/usr/share/doc/airinv/ChangeLog
/usr/share/doc/airinv/NEWS
/usr/share/doc/airinv/README.md
/usr/share/man/man1/AirInvClient.1.gz
/usr/share/man/man1/AirInvServer.1.gz
/usr/share/man/man1/airinv.1.gz
/usr/share/man/man1/airinv_parseInventory.1.gz

References

Summary

In this tutorial we learn how to install airinv on CentOS 8 using yum and dnf.