How To Install foomatic-db-compressed-ppds on Kali Linux

In this tutorial we learn how to install foomatic-db-compressed-ppds on Kali Linux. foomatic-db-compressed-ppds is OpenPrinting printer support - Compressed PPDs derived from the database

Introduction

In this tutorial we learn how to install foomatic-db-compressed-ppds on Kali Linux.

What is foomatic-db-compressed-ppds

foomatic-db-compressed-ppds 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 all PPD files which can be generated from the Foomatic database as one small compressed archive. This reduces the disk space consumption compared to the Foomatic XML database vastly and in addition makes listing of all available PPDs and extracting the needed PPD much faster than using the Foomatic XML database.

There are three methods to install foomatic-db-compressed-ppds on Kali Linux. 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-compressed-ppds 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-compressed-ppds using apt-get by running the following command:

sudo apt-get -y install foomatic-db-compressed-ppds

Install foomatic-db-compressed-ppds Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install foomatic-db-compressed-ppds using apt by running the following command:

sudo apt -y install foomatic-db-compressed-ppds

Install foomatic-db-compressed-ppds Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install foomatic-db-compressed-ppds using aptitude by running the following command:

sudo aptitude -y install foomatic-db-compressed-ppds

How To Uninstall foomatic-db-compressed-ppds on Kali Linux

To uninstall only the foomatic-db-compressed-ppds package we can use the following command:

sudo apt-get remove foomatic-db-compressed-ppds

Uninstall foomatic-db-compressed-ppds And Its Dependencies

To uninstall foomatic-db-compressed-ppds and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove foomatic-db-compressed-ppds

Remove foomatic-db-compressed-ppds Configurations and Data

To remove foomatic-db-compressed-ppds configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge foomatic-db-compressed-ppds

Remove foomatic-db-compressed-ppds configuration, data, and all of its dependencies

We can use the following command to remove foomatic-db-compressed-ppds configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge foomatic-db-compressed-ppds

Dependencies

foomatic-db-compressed-ppds have the following dependencies:

References

Summary

In this tutorial we learn how to install foomatic-db-compressed-ppds package on Kali Linux using different package management tools: apt, apt-get and aptitude.