How To Install libpdf-builder-perl on Debian 11

In this tutorial we learn how to install libpdf-builder-perl on Debian 11. libpdf-builder-perl is Facilitates the creation and modification of PDF files

Introduction

In this tutorial we learn how to install libpdf-builder-perl on Debian 11.

What is libpdf-builder-perl

libpdf-builder-perl is:

PDF::Builder started as a fork of PDF::API2, but has since added new features and fixed large bugs compared to the original.

Features:

  • Works with more than one PDF file open at once
  • It presents a object-oriented API to the user
  • Supports the 14 base PDF Core Fonts
  • Supports TrueType/OpenType fonts with both TT and CFF Outlines
  • Supports Adobe-Type1 Fonts (pfb/pfa/afm)
  • Supports native Embedding of bitmap images (jpeg, ppm, png)
  • Supports modification of existing pdfs and import/cloning of pages
  • Lite version of the API for first-timers

There are three methods to install libpdf-builder-perl on Debian 11. 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-builder-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-builder-perl using apt-get by running the following command:

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

Install libpdf-builder-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpdf-builder-perl

Install libpdf-builder-perl Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install libpdf-builder-perl

How To Uninstall libpdf-builder-perl on Debian 11

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

sudo apt-get remove libpdf-builder-perl

Uninstall libpdf-builder-perl And Its Dependencies

To uninstall libpdf-builder-perl and its dependencies that are no longer needed by Debian 11, we can use the command below:

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

Remove libpdf-builder-perl Configurations and Data

To remove libpdf-builder-perl configuration and data from Debian 11 we can use the following command:

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

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

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

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

Dependencies

libpdf-builder-perl have the following dependencies:

References

Summary

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