How To Install librabbitmq-dbg on Ubuntu 18.04

In this tutorial we learn how to install librabbitmq-dbg on Ubuntu 18.04. librabbitmq-dbg is AMQP client library written in C - Debug Files

Introduction

In this tutorial we learn how to install librabbitmq-dbg on Ubuntu 18.04.

What is librabbitmq-dbg

librabbitmq-dbg 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 provides debugging symbols.

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

Install librabbitmq-dbg Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install librabbitmq-dbg

Install librabbitmq-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librabbitmq-dbg

Install librabbitmq-dbg Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install librabbitmq-dbg

How To Uninstall librabbitmq-dbg on Ubuntu 18.04

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

sudo apt-get remove librabbitmq-dbg

Uninstall librabbitmq-dbg And Its Dependencies

To uninstall librabbitmq-dbg and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove librabbitmq-dbg

Remove librabbitmq-dbg Configurations and Data

To remove librabbitmq-dbg configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge librabbitmq-dbg

Remove librabbitmq-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge librabbitmq-dbg

References

Summary

In this tutorial we learn how to install librabbitmq-dbg package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.