How To Install libconsole-bridge-dev on Ubuntu 18.04

In this tutorial we learn how to install libconsole-bridge-dev on Ubuntu 18.04. libconsole-bridge-dev is console bridge - development files

Introduction

In this tutorial we learn how to install libconsole-bridge-dev on Ubuntu 18.04.

What is libconsole-bridge-dev

libconsole-bridge-dev is:

ROS-independent, pure CMake (i.e. non-catkin and non-rosbuild package) that provides logging calls that mirror those found in rosconsole, but for applications that are not necessarily using ROS.

This package contains the development files (headers, pkg-config and CMake files).

There are three methods to install libconsole-bridge-dev 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 libconsole-bridge-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libconsole-bridge-dev

Install libconsole-bridge-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libconsole-bridge-dev using apt by running the following command:

sudo apt -y install libconsole-bridge-dev

Install libconsole-bridge-dev 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 libconsole-bridge-dev using aptitude by running the following command:

sudo aptitude -y install libconsole-bridge-dev

How To Uninstall libconsole-bridge-dev on Ubuntu 18.04

To uninstall only the libconsole-bridge-dev package we can use the following command:

sudo apt-get remove libconsole-bridge-dev

Uninstall libconsole-bridge-dev And Its Dependencies

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

sudo apt-get -y autoremove libconsole-bridge-dev

Remove libconsole-bridge-dev Configurations and Data

To remove libconsole-bridge-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libconsole-bridge-dev

Remove libconsole-bridge-dev configuration, data, and all of its dependencies

We can use the following command to remove libconsole-bridge-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libconsole-bridge-dev

References

Summary

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