How To Install librelp-dev on Ubuntu 20.04

In this tutorial we learn how to install librelp-dev on Ubuntu 20.04. librelp-dev is Reliable Event Logging Protocol (RELP) library - development files Reliable Event Logging Protocol (RELP) library - development files

Introduction

In this tutorial we learn how to install librelp-dev on Ubuntu 20.04.

What is librelp-dev

librelp-dev is:

RELP provides reliable event logging over the network.

RELP (and hence) librelp assures that no message is lost, not even when connections break and a peer becomes unavailable. The current version of RELP has a minimal window of opportunity for message duplication after a session has been broken due to network problems. In this case, a few messages may be duplicated (a problem that also exists with plain tcp syslog). Future versions of RELP will address this shortcoming.

Please note that RELP is a general-purpose, extensible logging protocol. Even though it was designed to solve the urgent need of rsyslog-to-rsyslog communication, RELP supports many more applications. Extensible command verbs provide ample opportunity to extend the protocol without affecting existing applications.

Package: librelp-dev Architecture: amd64 Version: 1.5.0-1ubuntu2 Multi-Arch: same Priority: optional Section: universe/libdevel Source: librelp Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Michael Biebl [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 214 Depends: librelp0 (= 1.5.0-1ubuntu2) Filename: pool/universe/libr/librelp/librelp-dev_1.5.0-1ubuntu2_amd64.deb Size: 51780 MD5sum: f2e38ab012bc40115a92b413a8625879 SHA1: b4ce1e2333805a00c153eef32e26604d85f01cb6 SHA256: 702609c45517a56758404872657fb2625160cc06f538aa691064f94f5a5ec340 Homepage: http://www.librelp.com/ Description-en: Reliable Event Logging Protocol (RELP) library - development files RELP provides reliable event logging over the network.

RELP (and hence) librelp assures that no message is lost, not even when connections break and a peer becomes unavailable. The current version of RELP has a minimal window of opportunity for message duplication after a session has been broken due to network problems. In this case, a few messages may be duplicated (a problem that also exists with plain tcp syslog). Future versions of RELP will address this shortcoming.

Please note that RELP is a general-purpose, extensible logging protocol. Even though it was designed to solve the urgent need of rsyslog-to-rsyslog communication, RELP supports many more applications. Extensible command verbs provide ample opportunity to extend the protocol without affecting existing applications.

There are three methods to install librelp-dev on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install librelp-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install librelp-dev using apt-get by running the following command:

sudo apt-get -y install librelp-dev

Install librelp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librelp-dev using apt by running the following command:

sudo apt -y install librelp-dev

Install librelp-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install librelp-dev using aptitude by running the following command:

sudo aptitude -y install librelp-dev

How To Uninstall librelp-dev on Ubuntu 20.04

To uninstall only the librelp-dev package we can use the following command:

sudo apt-get remove librelp-dev

Uninstall librelp-dev And Its Dependencies

To uninstall librelp-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove librelp-dev

Remove librelp-dev Configurations and Data

To remove librelp-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge librelp-dev

Remove librelp-dev configuration, data, and all of its dependencies

We can use the following command to remove librelp-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librelp-dev

References

Summary

In this tutorial we learn how to install librelp-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.