How To Install libqpdf28 on Kali Linux

In this tutorial we learn how to install libqpdf28 on Kali Linux. libqpdf28 is runtime library for PDF transformation/inspection software

Introduction

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

What is libqpdf28

libqpdf28 is:

QPDF is a program that can be used to linearize (web-optimize), encrypt (password-protect), decrypt, and inspect PDF files from the command-line. It does these and other structural, content-preserving transformations on PDF files, reading a PDF file as input and creating a new one as output. It also provides many useful capabilities to developers of PDF-producing software or for people who just want to look at the innards of a PDF file to learn more about how they work.

QPDF understands PDF files that use compressed object streams (supported by newer PDF applications) and can convert such files into those that can be read with older viewers. It can also be used for checking PDF files for structural errors, inspecting stream contents, or extracting objects from PDF files. QPDF is not PDF content creation or viewing software – it does not have the capability to create PDF files from scratch or to display PDF files.

This package contains the qpdf runtime libraries required to run programs that link with the qpdf library.

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

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

sudo apt-get update

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

sudo apt-get -y install libqpdf28

Install libqpdf28 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqpdf28

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

sudo aptitude -y install libqpdf28

How To Uninstall libqpdf28 on Kali Linux

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

sudo apt-get remove libqpdf28

Uninstall libqpdf28 And Its Dependencies

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

sudo apt-get -y autoremove libqpdf28

Remove libqpdf28 Configurations and Data

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

sudo apt-get -y purge libqpdf28

Remove libqpdf28 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqpdf28

Dependencies

libqpdf28 have the following dependencies:

References

Summary

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