How To Install page-crunch on Ubuntu 22.04
Introduction
In this tutorial we learn how to install page-crunch
on Ubuntu 22.04.
What is page-crunch
page-crunch is:
Converts PDF and PS files to new PDF and PS documents with several sheets on the same page, or with resized or rotated sheets. It also can generate a book ready to print.
It acts as a graphical frontend to psutils programs, like psnup and psbook, and runs viewers such as xpdf and gv for preview once the processing is done. The GUI is made in Tcl/Tk.
There are three methods to install page-crunch
on Ubuntu 22.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 page-crunch Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install page-crunch
using apt-get
by running the following command:
sudo apt-get -y install page-crunch
Install page-crunch Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install page-crunch
using apt
by running the following command:
sudo apt -y install page-crunch
Install page-crunch 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 page-crunch
using aptitude
by running the following command:
sudo aptitude -y install page-crunch
How To Uninstall page-crunch on Ubuntu 22.04
To uninstall only the page-crunch
package we can use the following command:
sudo apt-get remove page-crunch
Uninstall page-crunch And Its Dependencies
To uninstall page-crunch
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove page-crunch
Remove page-crunch Configurations and Data
To remove page-crunch
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge page-crunch
Remove page-crunch configuration, data, and all of its dependencies
We can use the following command to remove page-crunch
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge page-crunch
References
Summary
In this tutorial we learn how to install page-crunch
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.