How To Install texlive-graphics on CentOS 7

In this tutorial we learn how to install texlive-graphics on CentOS 7. texlive-graphics is Standard LaTeX graphics

Introduction

In this tutorial we learn how to install texlive-graphics on CentOS 7.

What is texlive-graphics

The package was designed to accommodate all needs for inclusion of graphics in LaTeX documents, replacing many earlier packages used in LaTeX 2.09. The package aims to give a consistent interface to including the file types that are understood in your output, by use of ‘printer drivers’ (now known, simply, as ‘drivers’). The distribtion of the package contains several drivers, but others (for example, pdfTeX) are distributed separately. The package also offers several means of manipulating graphics in the course of inserting them into a document (for example, rotation and scaling). For extended documentation see epslatex. The package is part of the graphics bundle, which is one of the collections in the LaTeX ‘required’ set of packages. date

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

Install texlive-graphics on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install texlive-graphics

Install texlive-graphics 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.

sudo dnf makecache

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

sudo dnf -y install texlive-graphics

How To Uninstall texlive-graphics on CentOS 7

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

sudo dnf remove texlive-graphics

References

Summary

In this tutorial we learn how to install texlive-graphics on CentOS 7 using yum and dnf.