How To Install openslp on CentOS 8

openslp is Open implementation of Service Location Protocol V2 Open implementation of Service Location Protocol V2

Introduction

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

What is openslp

Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. OpenSLP is an open source implementation of the SLPv2 protocol as defined by RFC 2608 and RFC 2614. openslp 2.0.0 18.el8 x86_64 84 k openslp-2.0.0-18.el8.src.rpm appstream Open implementation of Service Location Protocol V2 http BSD Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. OpenSLP is an open source implementation of the SLPv2 protocol as defined by RFC 2608 and RFC 2614.

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

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

sudo dnf -y install openslp

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

sudo yum -y install openslp

How To Uninstall openslp on CentOS 8

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

sudo dnf remove openslp

openslp Package Contents on CentOS 8

/etc/slp.conf
/usr/bin/slptool
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/dac15da563752683daa4cc43ca9d26ba64923b
/usr/lib/.build-id/19
/usr/lib/.build-id/19/a0bb28791bd6bb7b7f6f25de5a7461833c619a
/usr/lib64/libslp.so.1
/usr/lib64/libslp.so.1.0.0
/usr/share/doc/openslp
/usr/share/doc/openslp/AUTHORS
/usr/share/doc/openslp/COPYING
/usr/share/doc/openslp/FAQ
/usr/share/doc/openslp/NEWS
/usr/share/doc/openslp/README
/usr/share/doc/openslp/THANKS
/usr/share/man/man1/slptool.1.gz
/etc/slp.conf
/usr/bin/slptool
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/27bbe4fd6cdfa8602931f95aa341cc141db2f4
/usr/lib/.build-id/71
/usr/lib/.build-id/71/cd739157073a8a161351130b9d9ebbea1d0bcc
/usr/lib/libslp.so.1
/usr/lib/libslp.so.1.0.0
/usr/share/doc/openslp
/usr/share/doc/openslp/AUTHORS
/usr/share/doc/openslp/COPYING
/usr/share/doc/openslp/FAQ
/usr/share/doc/openslp/NEWS
/usr/share/doc/openslp/README
/usr/share/doc/openslp/THANKS
/usr/share/man/man1/slptool.1.gz

References

Summary

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