How To Install texlive-orientation on Fedora 36

In this tutorial we learn how to install texlive-orientation in Fedora 36. texlive-orientation is Set page orientation with dvips/Ghostscript (ps2pdf)

Introduction

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

What is texlive-orientation

This package provides commands for manual (per-page and per-document) orientation of pages in a PDF created with dvips/Ghostscript (ps2pdf). For future versions it is planned to add support for other drivers, allowing for PDF orientation to be set in (x)dvipdfmx and pdfmode pdfTeX using the same commands from the user perspective.

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

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

sudo dnf -y install texlive-orientation

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

sudo yum -y install texlive-orientation

How To Uninstall texlive-orientation on Fedora 36

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

sudo dnf remove texlive-orientation

texlive-orientation Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/doc/latex/orientation
/usr/share/texlive/texmf-dist/doc/latex/orientation/README
/usr/share/texlive/texmf-dist/tex/latex/orientation
/usr/share/texlive/texmf-dist/tex/latex/orientation/orientation.sty

References

Summary

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