How To Install libknet1 on Rocky Linux 8

In this tutorial we learn how to install libknet1 on Rocky Linux 8. libknet1 is Kronosnet core switching implementation (protocol v1)

Introduction

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

What is libknet1

Kronosnet, often referred to as knet, is a network abstraction layer designed for High Availability use cases, where redundancy, security, fault tolerance and fast fail-over are the core requirements of your application. The whole kronosnet core is implemented in this library. Please refer to https

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

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

sudo dnf -y install libknet1

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

sudo yum -y install libknet1

How To Uninstall libknet1 on Rocky Linux 8

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

sudo dnf remove libknet1

libknet1 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/a2f107dc30e8327eca5b247eaa401fe9370ac0
/usr/lib/kronosnet
/usr/lib/libknet.so.1
/usr/lib/libknet.so.1.4.0
/usr/share/licenses/libknet1
/usr/share/licenses/libknet1/COPYING.applications
/usr/share/licenses/libknet1/COPYING.libraries
/usr/share/licenses/libknet1/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/951e1da495991f7c4647e85fce78e0b33e2dbe
/usr/lib64/kronosnet
/usr/lib64/libknet.so.1
/usr/lib64/libknet.so.1.4.0
/usr/share/licenses/libknet1
/usr/share/licenses/libknet1/COPYING.applications
/usr/share/licenses/libknet1/COPYING.libraries
/usr/share/licenses/libknet1/COPYRIGHT

References

Summary

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