How To Install texlive-pdfbook2 on Fedora 36

In this tutorial we learn how to install texlive-pdfbook2 in Fedora 36. texlive-pdfbook2 is Create booklets from PDF files

Introduction

In this tutorial we learn how to install texlive-pdfbook2 on Fedora 36.

What is texlive-pdfbook2

This python program creates print-ready PDF files from some input PDF files for booklet printing. The resulting files need to be printed in landscape/long edge double sided printing. The default paper format depends on the locale and is chosen by pdfjam. It can be chosen using the –paper option. Before the pdf is composed, the input file is cropped to the relevant area in order to discard unnecessary white spaces. In this process, all pages are cropped to the same dimensions. Extra margins can be defined at the edges of the booklet and in the middle where the binding occurs. The output is written to INPUT-book.pdf. Existing files will be overwritten. All input files are processed seperately.

We can use yum or dnf to install texlive-pdfbook2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pdfbook2.

Install texlive-pdfbook2 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 texlive-pdfbook2 using dnf by running the following command:

sudo dnf -y install texlive-pdfbook2

Install texlive-pdfbook2 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 texlive-pdfbook2 using yum by running the following command:

sudo yum -y install texlive-pdfbook2

How To Uninstall texlive-pdfbook2 on Fedora 36

To uninstall only the texlive-pdfbook2 package we can use the following command:

sudo dnf remove texlive-pdfbook2

texlive-pdfbook2 Package Contents on Fedora 36

/usr/bin/pdfbook2
/usr/share/licenses/texlive-pdfbook2
/usr/share/licenses/texlive-pdfbook2/gpl3.txt
/usr/share/man/man1/pdfbook2.1.gz
/usr/share/texlive/texmf-dist/doc/support/pdfbook2
/usr/share/texlive/texmf-dist/doc/support/pdfbook2/README
/usr/share/texlive/texmf-dist/scripts/pdfbook2
/usr/share/texlive/texmf-dist/scripts/pdfbook2/pdfbook2

References

Summary

In this tutorial we learn how to install texlive-pdfbook2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).