How To Install libecap on Rocky Linux 8

In this tutorial we learn how to install libecap on Rocky Linux 8. libecap is Squid interface for embedded adaptation modules

Introduction

In this tutorial we learn how to install libecap on Rocky Linux 8.

What is libecap

eCAP is a software interface that allows a network application, such as an HTTP proxy or an ICAP server, to outsource content analysis and adaptation to a loadable module. For each applicable protocol message being processed, an eCAP-enabled host application supplies the message details to the adaptation module and gets back an adapted message, a “not interested” response, or a “block this message now!” instruction. These exchanges often include message bodies. The adaptation module can also exchange meta-information with the host application to supply additional details such as configuration options, a reason behind the decision to ignore a message, or a detected virus name. If you are familiar with the ICAP protocol (RFC 3507), then you may think of eCAP as an “embedded ICAP”, where network interactions with an ICAP server are replaced with function calls to an adaptation module.

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

Install libecap on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libecap using dnf by running the following command:

sudo dnf -y install libecap

Install libecap on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libecap using yum by running the following command:

sudo yum -y install libecap

How To Uninstall libecap on Rocky Linux 8

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

sudo dnf remove libecap

libecap Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/eb838fbaa86b76cbf01b6af88e44b99858997f
/usr/lib64/libecap.so.3
/usr/lib64/libecap.so.3.0.0
/usr/share/doc/libecap
/usr/share/doc/libecap/CREDITS
/usr/share/doc/libecap/LICENSE
/usr/share/doc/libecap/NOTICE
/usr/share/doc/libecap/README

References

Summary

In this tutorial we learn how to install libecap on Rocky Linux 8 using yum and dnf.