How To Install texlive-tex on CentOS 7

In this tutorial we learn how to install texlive-tex on CentOS 7. texlive-tex is A sophisticated typesetting engine

Introduction

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

What is texlive-tex

TeX is a typesetting system that incorporates a macro processor. A TeX source document specifies or incorporates a number of macro definitions that instruct the TeX engine how to typeset the document. The TeX engine also uses font metrics generated by Metafont, or by any of several other mechanisms that incorporate fonts from other sources into an environment suitable for TeX. TeX has been, and continues, a basis and an inspiration for several other programs, including e-TeX and PDFTeX. The distribution includes the source of Knuth’s TeX book; this source is there to read, as an example of writing TeX – it should not be processed without Knuth’s direct permission. date

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

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

sudo yum -y install texlive-tex

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

sudo dnf -y install texlive-tex

How To Uninstall texlive-tex on CentOS 7

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

sudo dnf remove texlive-tex

References

Summary

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