How To Install texlive-memoir on CentOS 8

texlive-memoir is Typeset fiction, non-fiction and mathematical books

Introduction

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

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.

We can use yum or dnf to install texlive-memoir on CentOS 8. 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 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-memoir using dnf by running the following command:

sudo dnf -y install texlive-memoir

Install texlive-memoir on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-memoir using yum by running the following command:

sudo yum -y install texlive-memoir

How To Uninstall texlive-memoir on CentOS 8

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

sudo dnf remove texlive-memoir

texlive-memoir Package Contents on CentOS 8

/usr/share/licenses/texlive-memoir
/usr/share/licenses/texlive-memoir/lppl1.txt
/usr/share/texlive/texmf-dist/doc/latex/memoir
/usr/share/texlive/texmf-dist/doc/latex/memoir/Makeidxglo
/usr/share/texlive/texmf-dist/doc/latex/memoir/README
/usr/share/texlive/texmf-dist/doc/latex/memoir/anvil2.mps
/usr/share/texlive/texmf-dist/doc/latex/memoir/memfonts.sty
/usr/share/texlive/texmf-dist/doc/latex/memoir/memlays.sty
/usr/share/texlive/texmf-dist/doc/latex/memoir/memman.gst
/usr/share/texlive/texmf-dist/doc/latex/memoir/memman.ist
/usr/share/texlive/texmf-dist/doc/latex/memoir/memman.pdf
/usr/share/texlive/texmf-dist/doc/latex/memoir/memman.tex
/usr/share/texlive/texmf-dist/doc/latex/memoir/memnoidxnum.tex
/usr/share/texlive/texmf-dist/doc/latex/memoir/memsty.sty
/usr/share/texlive/texmf-dist/doc/latex/memoir/titlepages.sty
/usr/share/texlive/texmf-dist/doc/latex/memoir/trims-example.tex
/usr/share/texlive/texmf-dist/makeindex/memoir
/usr/share/texlive/texmf-dist/makeindex/memoir/basic.gst
/usr/share/texlive/texmf-dist/tex/latex/memoir
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem10.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem11.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem12.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem14.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem17.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem20.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem25.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem30.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem36.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem48.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem60.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/mem9.clo
/usr/share/texlive/texmf-dist/tex/latex/memoir/memhfixc.sty
/usr/share/texlive/texmf-dist/tex/latex/memoir/memoir.cls
/usr/share/texlive/texmf-dist/tex/latex/memoir/mempatch.sty

References

Summary

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