How To Install librabbitmq4 on Kali Linux

In this tutorial we learn how to install librabbitmq4 on Kali Linux. librabbitmq4 is AMQP client library written in C

Introduction

In this tutorial we learn how to install librabbitmq4 on Kali Linux.

What is librabbitmq4

librabbitmq4 is:

RabbitMQ provides robust messaging for applications. It is easy to use, fit for purpose at cloud scale and supported on all major operating systems and developer platforms. librabbitmq is a C-language AMQP client library for use with AMQP servers such as RabbitMQ speaking protocol versions 0-9-1.

This package includes the library itself.

There are three methods to install librabbitmq4 on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install librabbitmq4 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install librabbitmq4 using apt-get by running the following command:

sudo apt-get -y install librabbitmq4

Install librabbitmq4 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librabbitmq4 using apt by running the following command:

sudo apt -y install librabbitmq4

Install librabbitmq4 Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install librabbitmq4 using aptitude by running the following command:

sudo aptitude -y install librabbitmq4

How To Uninstall librabbitmq4 on Kali Linux

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

sudo apt-get remove librabbitmq4

Uninstall librabbitmq4 And Its Dependencies

To uninstall librabbitmq4 and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove librabbitmq4

Remove librabbitmq4 Configurations and Data

To remove librabbitmq4 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge librabbitmq4

Remove librabbitmq4 configuration, data, and all of its dependencies

We can use the following command to remove librabbitmq4 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librabbitmq4

Dependencies

librabbitmq4 have the following dependencies:

References

Summary

In this tutorial we learn how to install librabbitmq4 package on Kali Linux using different package management tools: apt, apt-get and aptitude.