How To Install foomatic-db-engine on Debian 9
Introduction
In this tutorial we learn how to install foomatic-db-engine
on Debian 9.
What is foomatic-db-engine
foomatic-db-engine is:
Foomatic is a printing system designed to make it easier to set up common printers for use with Debian (and other operating systems). It provides the “glue” between a print spooler (like CUPS or lpr) and your actual printer, by telling your computer how to process files sent to the printer.
This package contains the architecture-dependent programs needed to set up and maintain the foomatic system. You will also need one or more database packages. The foomatic-db package includes drivers for most common printers using Ghostscript as the print processor, as well as some common glue code used in other filter systems.
There are three methods to install foomatic-db-engine
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install foomatic-db-engine Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install foomatic-db-engine
using apt-get
by running the following command:
sudo apt-get -y install foomatic-db-engine
Install foomatic-db-engine Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install foomatic-db-engine
using apt
by running the following command:
sudo apt -y install foomatic-db-engine
Install foomatic-db-engine 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install foomatic-db-engine
using aptitude
by running the following command:
sudo aptitude -y install foomatic-db-engine
How To Uninstall foomatic-db-engine on Debian 9
To uninstall only the foomatic-db-engine
package we can use the following command:
sudo apt-get remove foomatic-db-engine
Uninstall foomatic-db-engine And Its Dependencies
To uninstall foomatic-db-engine
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove foomatic-db-engine
Remove foomatic-db-engine Configurations and Data
To remove foomatic-db-engine
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge foomatic-db-engine
Remove foomatic-db-engine configuration, data, and all of its dependencies
We can use the following command to remove foomatic-db-engine
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge foomatic-db-engine
Dependencies
foomatic-db-engine have the following dependencies:
References
Summary
In this tutorial we learn how to install foomatic-db-engine
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.