How To Install nispor on CentOS 8

nispor is API for network status querying API for network status querying

Introduction

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

What is nispor

Unified interface for Linux network state querying. nispor 1.0.1 4.el8 x86_64 830 k nispor-1.0.1-4.el8.src.rpm appstream API for network status querying https ASL 2.0 Unified interface for Linux network state querying.

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

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

sudo dnf -y install nispor

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

sudo yum -y install nispor

How To Uninstall nispor on CentOS 8

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

sudo dnf remove nispor

nispor Package Contents on CentOS 8

/usr/bin/npc
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/100b86c54c19795ff3414ac9fdaed6639901fe
/usr/lib/.build-id/91
/usr/lib/.build-id/91/7c3265ee714cd664fdc0ab06d2ab4f84ee15e6
/usr/lib/libnispor.so.1
/usr/lib/libnispor.so.1.0.1
/usr/share/doc/nispor
/usr/share/doc/nispor/AUTHORS
/usr/share/doc/nispor/CHANGELOG
/usr/share/doc/nispor/DEVEL.md
/usr/share/doc/nispor/README.md
/usr/share/licenses/nispor
/usr/share/licenses/nispor/LICENSE
/usr/bin/npc
/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/71ac09845fe817f9f30782e3cc0fec7eb83984
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/516a80466599bb7ceb61c96857e9cda6ec3b07
/usr/lib64/libnispor.so.1
/usr/lib64/libnispor.so.1.0.1
/usr/share/doc/nispor
/usr/share/doc/nispor/AUTHORS
/usr/share/doc/nispor/CHANGELOG
/usr/share/doc/nispor/DEVEL.md
/usr/share/doc/nispor/README.md
/usr/share/licenses/nispor
/usr/share/licenses/nispor/LICENSE

References

Summary

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