How To Install libcpdb-libs-frontend0 on Ubuntu 18.04

In this tutorial we learn how to install libcpdb-libs-frontend0 on Ubuntu 18.04. libcpdb-libs-frontend0 is Common Print Dialog Backends - Interface Library for Frontends

Introduction

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

What is libcpdb-libs-frontend0

libcpdb-libs-frontend0 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 the library which provides the functions needed by the frontends (print dialogs).

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

sudo apt-get -y install libcpdb-libs-frontend0

Install libcpdb-libs-frontend0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcpdb-libs-frontend0

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

sudo aptitude -y install libcpdb-libs-frontend0

How To Uninstall libcpdb-libs-frontend0 on Ubuntu 18.04

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

sudo apt-get remove libcpdb-libs-frontend0

Uninstall libcpdb-libs-frontend0 And Its Dependencies

To uninstall libcpdb-libs-frontend0 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-frontend0

Remove libcpdb-libs-frontend0 Configurations and Data

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

sudo apt-get -y purge libcpdb-libs-frontend0

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

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

sudo apt-get -y autoremove --purge libcpdb-libs-frontend0

References

Summary

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