How To Install libpdf-create-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpdf-create-perl
on Ubuntu 20.04.
What is libpdf-create-perl
libpdf-create-perl is:
PDF::Create allows you to create documents in the Portable Document Format (PDF) using a large number of primitives, and emit the result as a PDF file or stream.
Documents can have several pages, a table of content, an information section and many other PDF elements. Since documents are constructed on-the-fly, the memory footprint is not tied to the size of the pages; only the number of pages.
It is intended to be simple and highly portable, as it is written purely in Perl. For more complex tasks, see libpdf-api2-perl.
There are three methods to install libpdf-create-perl
on Ubuntu 20.04. 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-create-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-create-perl
using apt-get
by running the following command:
sudo apt-get -y install libpdf-create-perl
Install libpdf-create-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpdf-create-perl
using apt
by running the following command:
sudo apt -y install libpdf-create-perl
Install libpdf-create-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libpdf-create-perl
using aptitude
by running the following command:
sudo aptitude -y install libpdf-create-perl
How To Uninstall libpdf-create-perl on Ubuntu 20.04
To uninstall only the libpdf-create-perl
package we can use the following command:
sudo apt-get remove libpdf-create-perl
Uninstall libpdf-create-perl And Its Dependencies
To uninstall libpdf-create-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpdf-create-perl
Remove libpdf-create-perl Configurations and Data
To remove libpdf-create-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpdf-create-perl
Remove libpdf-create-perl configuration, data, and all of its dependencies
We can use the following command to remove libpdf-create-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpdf-create-perl
References
Summary
In this tutorial we learn how to install libpdf-create-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.