How To Install texlive-memoir on CentOS 7

In this tutorial we learn how to install texlive-memoir on CentOS 7. texlive-memoir is Typeset fiction, non-fiction and mathematical books

Introduction

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

What is texlive-memoir

The memoir class is for typesetting poetry, fiction, non- fiction, and mathematical works. Permissible document ‘base’ font sizes range from 9 to 60pt. There is a range of page- styles and well over a dozen chapter-styles to choose from, as well as methods for specifying your own layouts and designs. The class also provides the functionality of over thirty of the more popular packages, thus simplifying document sources. The class automatically loads an associated patch file mempatch; the patch file may be updated from time to time, between releases of the class itself. (The patch file stays around even when there are no extant patches.) Users who wish to use the hyperref package, in a document written with the memoir class, should also use the memhfixc package (part of this bundle). Note, however, that current versions of hyperref actually load the package automatically if they detect that they are running under memoir. date

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

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

sudo yum -y install texlive-memoir

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

sudo dnf -y install texlive-memoir

How To Uninstall texlive-memoir on CentOS 7

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

sudo dnf remove texlive-memoir

References

Summary

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