How To Install texlive-txfonts on CentOS 7

In this tutorial we learn how to install texlive-txfonts on CentOS 7. texlive-txfonts is Times-like fonts in support of mathematics

Introduction

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

What is texlive-txfonts

Txfonts supplies virtual text roman fonts using Adobe Times (or URW NimbusRomNo9L) with some modified and additional text symbols in the OT1, T1, and TS1 encodings; maths alphabets using Times/URW Nimbus; maths fonts providing all the symbols of the Computer Modern and AMS fonts, including all the Greek capital letters from CMR; and additional maths fonts of various other symbols. The set is complemented by a sans-serif set of text fonts, based on Helvetica/NimbusSanL, and a monospace set. All the fonts are in Type 1 format (AFM and PFB files), and are supported by TeX metrics (VF and TFM files) and macros for use with LaTeX. date

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

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

sudo yum -y install texlive-txfonts

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

sudo dnf -y install texlive-txfonts

How To Uninstall texlive-txfonts on CentOS 7

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

sudo dnf remove texlive-txfonts

References

Summary

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