How To Install rsyslog-relp on CentOS 8

rsyslog-relp is RELP protocol support for rsyslog

Introduction

In this tutorial we learn how to install rsyslog-relp on CentOS 8.

What is rsyslog-relp

The rsyslog-relp package contains the rsyslog plugins that provide the ability to receive syslog messages via the reliable RELP protocol.

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

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

sudo dnf -y install rsyslog-relp

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

sudo yum -y install rsyslog-relp

How To Uninstall rsyslog-relp on CentOS 8

To uninstall only the rsyslog-relp package we can use the following command:

sudo dnf remove rsyslog-relp

rsyslog-relp Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/ec35476f82147edec16310d9b830351d2ba6f2
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/90af6a978440e73fe3457500802b66d80ed702
/usr/lib64/rsyslog/imrelp.so
/usr/lib64/rsyslog/omrelp.so
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/0ecb2eb2f6044c55a5de80be890620e44b0757
/usr/lib/.build-id/87
/usr/lib/.build-id/87/b48af64018cbb9f35fa5b44d0cea1c08394d6c
/usr/lib64/rsyslog/imrelp.so
/usr/lib64/rsyslog/omrelp.so

References

Summary

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