How To Install texlive-rviewport on Fedora 36

In this tutorial we learn how to install texlive-rviewport in Fedora 36. texlive-rviewport is Relative Viewport for Graphics Inclusion

Introduction

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

What is texlive-rviewport

Package graphicx provides a useful keyword viewport which allows to show just a part of an image. However, one needs to put there the actual coordinates of the viewport window. Sometimes it is useful to have relative coordinates as fractions of natural size. For example, one may want to print a large image on a spread, putting a half on a verso page, and another half on the next recto page. For this one would need a viewport occupying exactly one half of the file’s bounding box, whatever the actual width of the image may be. This package adds a new keyword rviewport to the graphicx package specifiying Relative Viewport for graphics inclusion defined by the given fractions of the natural width and height of the image.

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

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

sudo dnf -y install texlive-rviewport

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

sudo yum -y install texlive-rviewport

How To Uninstall texlive-rviewport on Fedora 36

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

sudo dnf remove texlive-rviewport

texlive-rviewport Package Contents on Fedora 36

/usr/share/licenses/texlive-rviewport
/usr/share/licenses/texlive-rviewport/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/rviewport
/usr/share/texlive/texmf-dist/tex/latex/rviewport/rviewport.sty

References

Summary

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