How To Install libqpdf26 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libqpdf26 on Ubuntu 20.04.
What is libqpdf26
libqpdf26 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. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: libqpdf26 Architecture: amd64 Version: 9.1.1-1build1 Multi-Arch: same Priority: optional Section: libs Source: qpdf Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Jay Berkenbilt [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1284 Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libgnutls30 (>= 3.6.10), libjpeg8 (>= 8c), libstdc++6 (>= 9), zlib1g (>= 1:1.1.4) Filename: pool/main/q/qpdf/libqpdf26_9.1.1-1build1_amd64.deb Size: 420740 MD5sum: 3b9218aedd214899688d1fad2b5b3ebb SHA1: 2a86b2d1920d987c6ca7a96037d0feeee700a7a3 SHA256: e57b2e05cd2d1f3b477489415916a0f0c2836f5a9a103f3807d7bb3c17157c3a Homepage: http://qpdf.sourceforge.net Description-en: runtime library for PDF transformation/inspection software 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. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install libqpdf26 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 libqpdf26 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libqpdf26 using apt-get by running the following command:
sudo apt-get -y install libqpdf26
Install libqpdf26 Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libqpdf26 using apt by running the following command:
sudo apt -y install libqpdf26
Install libqpdf26 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 libqpdf26 using aptitude by running the following command:
sudo aptitude -y install libqpdf26
How To Uninstall libqpdf26 on Ubuntu 20.04
To uninstall only the libqpdf26 package we can use the following command:
sudo apt-get remove libqpdf26
Uninstall libqpdf26 And Its Dependencies
To uninstall libqpdf26 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libqpdf26
Remove libqpdf26 Configurations and Data
To remove libqpdf26 configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libqpdf26
Remove libqpdf26 configuration, data, and all of its dependencies
We can use the following command to remove libqpdf26 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libqpdf26
References
Summary
In this tutorial we learn how to install libqpdf26 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.