How To Install libnetfilter_cthelper on Rocky Linux 8

In this tutorial we learn how to install libnetfilter_cthelper on Rocky Linux 8. libnetfilter_cthelper is User-space infrastructure for connection tracking helpers

Introduction

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

What is libnetfilter_cthelper

This library provides the infrastructure for the user-space helper infrastructure available since the Linux kernel 3.6.

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

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

sudo dnf -y install libnetfilter_cthelper

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

sudo yum -y install libnetfilter_cthelper

How To Uninstall libnetfilter_cthelper on Rocky Linux 8

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

sudo dnf remove libnetfilter_cthelper

libnetfilter_cthelper Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/33a009d688192941915cb76d2004eff8009530
/usr/lib/libnetfilter_cthelper.so.0
/usr/lib/libnetfilter_cthelper.so.0.0.0
/usr/share/doc/libnetfilter_cthelper
/usr/share/doc/libnetfilter_cthelper/COPYING
/usr/share/doc/libnetfilter_cthelper/README
/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/0c264de2ccc34558b9a45e5e38f5f6db4bf9ea
/usr/lib64/libnetfilter_cthelper.so.0
/usr/lib64/libnetfilter_cthelper.so.0.0.0
/usr/share/doc/libnetfilter_cthelper
/usr/share/doc/libnetfilter_cthelper/COPYING
/usr/share/doc/libnetfilter_cthelper/README

References

Summary

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