How To Install libecap on Fedora 34

libecap is Squid interface for embedded adaptation modules Squid interface for embedded adaptation modules

Introduction

In this tutorial we learn how to install libecap on Fedora 34.

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. libecap 1.0.1 8.fc34 x86_64 25 k libecap-1.0.1-8.fc34.src.rpm fedora Squid interface for embedded adaptation modules http BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libecap.

Install libecap on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libecap

Install libecap on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libecap

libecap Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/d04d7877182733c104c489b31ebb52a2a427c1
/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
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/2d1ebdec57784bef69705ec2a1e5e2c382c693
/usr/lib/libecap.so.3
/usr/lib/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 Fedora 34 using yum and dnf.