How To Install pdf-stapler on Fedora 36
Introduction
In this tutorial we learn how to install pdf-stapler
on Fedora 36.
What is pdf-stapler
pdf-stapler is the Fedora package for stapler, the opensource python project which provides a commandline tool that staples, deletes, concatenates and shuffles documents in the Portable Document Format (PDF). It is an alternative to PDFtk. From the project git page Philip Stark found pypdf, a PDF library written in pure Python. He couldn’t find a tool which actually used the library, so he started writing his own. This version of stapler is Fred Wenzel’s fork of the project, with a completely refactored source code, tests, and added functionality.
We can use yum
or dnf
to install pdf-stapler
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pdf-stapler.
Install pdf-stapler on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pdf-stapler
using dnf
by running the following command:
sudo dnf -y install pdf-stapler
Install pdf-stapler on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pdf-stapler
using yum
by running the following command:
sudo yum -y install pdf-stapler
How To Uninstall pdf-stapler on Fedora 36
To uninstall only the pdf-stapler
package we can use the following command:
sudo dnf remove pdf-stapler
pdf-stapler Package Contents on Fedora 36
/usr/bin/pdf-stapler
/usr/share/doc/pdf-stapler
/usr/share/doc/pdf-stapler/README.rst
/usr/share/licenses/pdf-stapler
/usr/share/licenses/pdf-stapler/LICENSE
References
Summary
In this tutorial we learn how to install pdf-stapler
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).