How To Install libecap.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libecap.x86_64 in Amazon Linux 2. libecap.x86_64 is Squid interface for embedded adaptation modules

Introduction

In this tutorial we learn how to install libecap.x86_64 on Amazon Linux 2.

What is libecap.x86_64

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 to install libecap.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libecap.x86_64.

Install libecap.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libecap.x86_64

How To Uninstall libecap.x86_64 on Amazon Linux 2

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

sudo yum remove libecap.x86_64

libecap.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libecap.so.3
/usr/lib64/libecap.so.3.0.0
/usr/share/doc/libecap-1.0.0
/usr/share/doc/libecap-1.0.0/CREDITS
/usr/share/doc/libecap-1.0.0/LICENSE
/usr/share/doc/libecap-1.0.0/NOTICE
/usr/share/doc/libecap-1.0.0/README

References

Summary

In this tutorial we learn how to install libecap.x86_64 on Amazon Linux 2 using yum.