print_frontend command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
print_frontend: command not found
or when using sudo you get the following error message
sudo: print_frontend: command not found
Solutions to print_frontend: command not found
How To Fix print_frontend: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu print_frontend is provided by libcpdb-libs-common-dev package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libcpdb-libs-common-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libcpdb-libs-common-dev.
sudo apt -y install libcpdb-libs-common-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libcpdb-libs-common-dev
Summary
In this tutorial we learn how to fix print_frontend command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.