How To Install libcpdb-libs-common-dev on Ubuntu 18.04

In this tutorial we learn how to install libcpdb-libs-common-dev on Ubuntu 18.04. libcpdb-libs-common-dev is Common Print Dialog Backends - Development files for both libraries

Introduction

In this tutorial we learn how to install libcpdb-libs-common-dev on Ubuntu 18.04.

What is libcpdb-libs-common-dev

libcpdb-libs-common-dev is:

The Common Print Dialog Backends project provides a D-Bus interface so that the print dialogs of GUI applications and the communication with the print technologies (CUPS/IPP, Google Cloud Print, Save to File, …) are put into separate executables to be separately exchangeable.

The print dialogs of the different GUI toolkits and applications (GTK, Qt, LibreOffice, …) are the frontends and to communicate with the different print technologies they use common backends. This way one simply adds new backends for new print technologies and updates the backends for changes in the print technologies, and immediately all applications are up-to-date, without need of modifying the code of the GUI toolkits or applications.

This package contains a common header file to develop print dialogs supporting the Common Print Dialog Backends interface using libcpdb-libs-backend or libcpdb-libs-frontend.

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

sudo apt-get -y install libcpdb-libs-common-dev

Install libcpdb-libs-common-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcpdb-libs-common-dev

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

sudo aptitude -y install libcpdb-libs-common-dev

How To Uninstall libcpdb-libs-common-dev on Ubuntu 18.04

To uninstall only the libcpdb-libs-common-dev package we can use the following command:

sudo apt-get remove libcpdb-libs-common-dev

Uninstall libcpdb-libs-common-dev And Its Dependencies

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

sudo apt-get -y autoremove libcpdb-libs-common-dev

Remove libcpdb-libs-common-dev Configurations and Data

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

sudo apt-get -y purge libcpdb-libs-common-dev

Remove libcpdb-libs-common-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcpdb-libs-common-dev

References

Summary

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