How To Install librabbitmq on Rocky Linux 8

In this tutorial we learn how to install librabbitmq on Rocky Linux 8. librabbitmq is Client library for AMQP

Introduction

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

What is librabbitmq

This is a C-language AMQP client library for use with AMQP servers speaking protocol versions 0-9-1.

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

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

sudo dnf -y install librabbitmq

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

sudo yum -y install librabbitmq

How To Uninstall librabbitmq on Rocky Linux 8

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

sudo dnf remove librabbitmq

librabbitmq Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/a709ddfee71c360754e8337715b85494b77b69
/usr/lib64/librabbitmq.so.4
/usr/lib64/librabbitmq.so.4.3.0
/usr/share/licenses/librabbitmq
/usr/share/licenses/librabbitmq/LICENSE-MIT
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/bf93d7ee3f4736e7c0c70faa081a52f2c51dd0
/usr/lib/librabbitmq.so.4
/usr/lib/librabbitmq.so.4.3.0
/usr/share/licenses/librabbitmq
/usr/share/licenses/librabbitmq/LICENSE-MIT

References

Summary

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