How To Install libpdf-writer-perl on Kali Linux

In this tutorial we learn how to install libpdf-writer-perl on Kali Linux. libpdf-writer-perl is PDF writer abstraction layer

Introduction

In this tutorial we learn how to install libpdf-writer-perl on Kali Linux.

What is libpdf-writer-perl

libpdf-writer-perl is:

PDF::Writer is a generalised API that allows a module that generates PDFs to transparently target multiple backends without changing its code. The currently supported backends are:

  • PDF::API2
  • PDFlib (versions 3+)
  • Mock If both PDF::API2 and pdflib_pl are available, PDF::API2 is preferred. If neither is available, a run-time exception will be thrown.

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

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

sudo apt-get update

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

sudo apt-get -y install libpdf-writer-perl

Install libpdf-writer-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpdf-writer-perl using apt by running the following command:

sudo apt -y install libpdf-writer-perl

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

sudo aptitude -y install libpdf-writer-perl

How To Uninstall libpdf-writer-perl on Kali Linux

To uninstall only the libpdf-writer-perl package we can use the following command:

sudo apt-get remove libpdf-writer-perl

Uninstall libpdf-writer-perl And Its Dependencies

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

sudo apt-get -y autoremove libpdf-writer-perl

Remove libpdf-writer-perl Configurations and Data

To remove libpdf-writer-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libpdf-writer-perl

Remove libpdf-writer-perl configuration, data, and all of its dependencies

We can use the following command to remove libpdf-writer-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpdf-writer-perl

Dependencies

libpdf-writer-perl have the following dependencies:

References

Summary

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