How To Install texlive-geometry on CentOS 7
Introduction
In this tutorial we learn how to install texlive-geometry
on CentOS 7.
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). date
We can use yum
or dnf
to install texlive-geometry
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-geometry.
Install texlive-geometry on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install texlive-geometry
using yum
by running the following command:
Install texlive-geometry on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install texlive-geometry
using dnf
by running the following command:
How To Uninstall texlive-geometry on CentOS 7
To uninstall only the texlive-geometry
package we can use the following command:
References
Summary
In this tutorial we learn how to install texlive-geometry
on CentOS 7 using yum
and dnf
.