How To Install ppdfilt on Kali Linux

In this tutorial we learn how to install ppdfilt on Kali Linux. ppdfilt is filter that inserts printer specific commands into print jobs

Introduction

In this tutorial we learn how to install ppdfilt on Kali Linux.

What is ppdfilt

ppdfilt is:

ppdfilt is a filter program designed to be used within a filter script or from the command line tool to insert printer specific commands to a PostScript print job. This can be used to tell the printer to duplex or staple the print job, or tell it what paper tray to draw paper from. In the GNULpr printing environment, users do not call ppdfilt directly, but its features are accessed by using ’lpr’ or ‘gpr’ (see)

There are three methods to install ppdfilt 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 ppdfilt Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ppdfilt using apt-get by running the following command:

sudo apt-get -y install ppdfilt

Install ppdfilt Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ppdfilt using apt by running the following command:

sudo apt -y install ppdfilt

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

sudo aptitude -y install ppdfilt

How To Uninstall ppdfilt on Kali Linux

To uninstall only the ppdfilt package we can use the following command:

sudo apt-get remove ppdfilt

Uninstall ppdfilt And Its Dependencies

To uninstall ppdfilt and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ppdfilt

Remove ppdfilt Configurations and Data

To remove ppdfilt configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ppdfilt

Remove ppdfilt configuration, data, and all of its dependencies

We can use the following command to remove ppdfilt configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ppdfilt

Dependencies

ppdfilt have the following dependencies:

References

Summary

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