How To Install libdjconsole-dev on Ubuntu 18.04

In this tutorial we learn how to install libdjconsole-dev on Ubuntu 18.04. libdjconsole-dev is Hercules DJ Console access library - development headers

Introduction

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

What is libdjconsole-dev

libdjconsole-dev is:

The DJ Console library is a C++ library that facilitates access to the Hercules DJ Console MK I and MK II via libusb. It supports all non-audio functions such as LEDs, buttons and controllers.

This package contains the development headers.

There are three methods to install libdjconsole-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 libdjconsole-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 libdjconsole-dev using apt-get by running the following command:

sudo apt-get -y install libdjconsole-dev

Install libdjconsole-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdjconsole-dev

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

sudo aptitude -y install libdjconsole-dev

How To Uninstall libdjconsole-dev on Ubuntu 18.04

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

sudo apt-get remove libdjconsole-dev

Uninstall libdjconsole-dev And Its Dependencies

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

sudo apt-get -y autoremove libdjconsole-dev

Remove libdjconsole-dev Configurations and Data

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

sudo apt-get -y purge libdjconsole-dev

Remove libdjconsole-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdjconsole-dev

References

Summary

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