How To Install texlive-graphics on CentOS 8
Introduction
In this tutorial we learn how to install texlive-graphics
on CentOS 8.
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.
We can use yum
or dnf
to install texlive-graphics
on CentOS 8. 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 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install texlive-graphics
using dnf
by running the following command:
sudo dnf -y install texlive-graphics
Install texlive-graphics on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install texlive-graphics
using yum
by running the following command:
sudo yum -y install texlive-graphics
How To Uninstall texlive-graphics on CentOS 8
To uninstall only the texlive-graphics
package we can use the following command:
sudo dnf remove texlive-graphics
texlive-graphics Package Contents on CentOS 8
/usr/share/licenses/texlive-graphics
/usr/share/licenses/texlive-graphics/lppl1.txt
/usr/share/texlive/texmf-dist/doc/latex/graphics
/usr/share/texlive/texmf-dist/doc/latex/graphics/README.txt
/usr/share/texlive/texmf-dist/doc/latex/graphics/cat.eps
/usr/share/texlive/texmf-dist/doc/latex/graphics/changes.txt
/usr/share/texlive/texmf-dist/doc/latex/graphics/color.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/drivers.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/epsfig.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/graphics.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/graphicx.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/grfguide.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/grfguide.tex
/usr/share/texlive/texmf-dist/doc/latex/graphics/keyval.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/lscape.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/rotating.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/rotex.pdf
/usr/share/texlive/texmf-dist/doc/latex/graphics/rotex.tex
/usr/share/texlive/texmf-dist/doc/latex/graphics/trig.pdf
/usr/share/texlive/texmf-dist/tex/latex/graphics
/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipdf.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsone.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/dviwin.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/emtex.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/epsfig.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/lscape.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/pctex32.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/pctexhp.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/pctexps.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/pctexwin.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/rotating.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/tcidvi.def
/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
/usr/share/texlive/texmf-dist/tex/latex/graphics/truetex.def
References
Summary
In this tutorial we learn how to install texlive-graphics
on CentOS 8 using yum and dnf.