How To Install pdfsam on Ubuntu 20.04
Introduction
In this tutorial we learn how to install pdfsam
on Ubuntu 20.04.
What is pdfsam
pdfsam is:
PDF Split and Merge is a very simple, easy to use, free, open source utility to split and merge pdf files. It has a simple graphical interface to let the user choose pdf files, split or merge them.
Package: pdfsam Architecture: all Version: 4.0.4-1 Priority: optional Section: universe/text Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Java Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1277 Depends: default-jre (>= 2:1.9) | java9-runtime, libfontawesomefx-java (>= 9.1.2), libhibernate-validator-java (>= 4.3.3-2), liblogback-java, libsambox-java (>= 1.1.41), libsejda-java (>= 3.2.56), openjfx (>= 11), libatinject-jsr330-api-java, libbcmail-java (>= 1.61), libbcprov-java (>= 1.61), libcommons-io-java (>= 2.6), libcommons-lang3-java (>= 3.8), libgettext-commons-java, libjackson2-jr-java, libopenjfx-java, libsejda-eventstudio-java (>= 1.0.6), libsejda-injector-java (>= 1.0.2), libslf4j-java (>= 1.7.25) Filename: pool/universe/p/pdfsam/pdfsam_4.0.4-1_all.deb Size: 1122884 MD5sum: 8a21ea96e61a20aa19915351ac18643e SHA1: 486295e6ea61c2bb2381592e59a3a50e59f08454 SHA256: 7f37d9acff62b26ededba611206feac05233c857c1006455b4259c79378d9e45 Homepage: http://www.pdfsam.org Description-en: PDF Split and Merge PDF Split and Merge is a very simple, easy to use, free, open source utility to split and merge pdf files. It has a simple graphical interface to let the user choose pdf files, split or merge them.
There are three methods to install pdfsam
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 pdfsam Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pdfsam
using apt-get
by running the following command:
sudo apt-get -y install pdfsam
Install pdfsam Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pdfsam
using apt
by running the following command:
sudo apt -y install pdfsam
Install pdfsam 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 pdfsam
using aptitude
by running the following command:
sudo aptitude -y install pdfsam
How To Uninstall pdfsam on Ubuntu 20.04
To uninstall only the pdfsam
package we can use the following command:
sudo apt-get remove pdfsam
Uninstall pdfsam And Its Dependencies
To uninstall pdfsam
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove pdfsam
Remove pdfsam Configurations and Data
To remove pdfsam
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge pdfsam
Remove pdfsam configuration, data, and all of its dependencies
We can use the following command to remove pdfsam
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pdfsam
References
Summary
In this tutorial we learn how to install pdfsam
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.