How To Install texlive-kpfonts on CentOS 7

In this tutorial we learn how to install texlive-kpfonts on CentOS 7. texlive-kpfonts is A complete set of fonts for text and mathematics

Introduction

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

What is texlive-kpfonts

The family contains text fonts in roman, sans-serif and monospaced shapes, with true small caps and old-style numbers; the package offers full support of the textcomp package. The mathematics fonts include all the AMS fonts, in both normal and bold weights. Each of the font types is available in two main versions four variants old ligatures such as ct and st, and long-tailed capital Q; and veryoldstyle with long s. Other variants include small caps as default or ’large small caps’, and for mathematics both upright and slanted shapes for Greek letters, as well as default and narrow versions of multiple integrals. The fonts were originally derived from URW Palladio (with URW’s agreement) though the fonts are very clearly different in appearance from their parent.

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

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

sudo yum -y install texlive-kpfonts

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

sudo dnf -y install texlive-kpfonts

How To Uninstall texlive-kpfonts on CentOS 7

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

sudo dnf remove texlive-kpfonts

References

Summary

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