How To Install texlive-hyphenat on CentOS 7

In this tutorial we learn how to install texlive-hyphenat on CentOS 7. texlive-hyphenat is Disable/enable hypenation

Introduction

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

What is texlive-hyphenat

This package can disable all hyphenation or enable hyphenation of non-alphabetics or monospaced fonts. The package can also enable hyphenation within ‘words’ that contain non-alphabetic characters (e.g., that include underscores), and hyphenation of text typeset in monospaced (e.g., cmtt) fonts. date

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

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

sudo yum -y install texlive-hyphenat

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

sudo dnf -y install texlive-hyphenat

How To Uninstall texlive-hyphenat on CentOS 7

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

sudo dnf remove texlive-hyphenat

References

Summary

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