How To Install texlive-geometry on Rocky Linux 8

In this tutorial we learn how to install texlive-geometry on Rocky Linux 8. texlive-geometry is Flexible and complete interface to document dimensions

Introduction

In this tutorial we learn how to install texlive-geometry on Rocky Linux 8.

What is texlive-geometry

The package provides an easy and flexible user interface to customize page layout, implementing auto-centering and auto- balancing mechanisms so that the users have only to give the least description for the page layout. For example, if you want to set each margin 2cm without header space, what you need is just \usepackage[margin=2cm,nohead]{geometry}. The package knows about all the standard paper sizes, so that the user need not know what the nominal ‘real’ dimensions of the paper are, just its standard name (such as a4, letter, etc.). An important feature is the package’s ability to communicate the paper size it’s set up to the output (whether via DVI \specials or via direct interaction with PDF(La)TeX).

We can use yum or dnf to install texlive-geometry on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-geometry.

Install texlive-geometry on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install texlive-geometry using dnf by running the following command:

sudo dnf -y install texlive-geometry

Install texlive-geometry on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install texlive-geometry using yum by running the following command:

sudo yum -y install texlive-geometry

How To Uninstall texlive-geometry on Rocky Linux 8

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

sudo dnf remove texlive-geometry

texlive-geometry Package Contents on Rocky Linux 8

/usr/share/licenses/texlive-geometry
/usr/share/licenses/texlive-geometry/lppl1.txt
/usr/share/texlive/texmf-dist/doc/latex/geometry
/usr/share/texlive/texmf-dist/doc/latex/geometry/README
/usr/share/texlive/texmf-dist/doc/latex/geometry/changes.txt
/usr/share/texlive/texmf-dist/doc/latex/geometry/geometry-samples.tex
/usr/share/texlive/texmf-dist/doc/latex/geometry/geometry.cfg
/usr/share/texlive/texmf-dist/doc/latex/geometry/geometry.pdf
/usr/share/texlive/texmf-dist/tex/latex/geometry
/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty

References

Summary

In this tutorial we learn how to install texlive-geometry on Rocky Linux 8 using yum and dnf.