How To Install apsfilter on Kali Linux

In this tutorial we learn how to install apsfilter on Kali Linux. apsfilter is Magic print filter with automatic file type recognition

Introduction

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

What is apsfilter

apsfilter is:

apsfilter makes printing many file formats much easier. It features on-the-fly decompression and conversion, and works on both PostScript and non-PostScript (via Ghostscript) graphical printers.

Among the supported formats are: gzip, bzip2, compress, freeze, pack, ASCII, BMP, data (PCL, etc.), DVI, FBM, FIG, FITS, GIF, Group 3 fax, HTML, IFF ILBM, JPEG, Kodak Photo CD, MGR, MIFF, PBM/PGM/PNM/PPM, PDF, PNG, PostScript, RLE, SGI, Sketch, Sun raster, Targa, TIFF, troff, WPG, X pixmap, XCF. Note that actual support depends on the installed filter programs.

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

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

sudo apt-get update

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

sudo apt-get -y install apsfilter

Install apsfilter Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install apsfilter

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

sudo aptitude -y install apsfilter

How To Uninstall apsfilter on Kali Linux

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

sudo apt-get remove apsfilter

Uninstall apsfilter And Its Dependencies

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

sudo apt-get -y autoremove apsfilter

Remove apsfilter Configurations and Data

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

sudo apt-get -y purge apsfilter

Remove apsfilter configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge apsfilter

Dependencies

apsfilter have the following dependencies:

References

Summary

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