How To Install texlive-filecontents.noarch on Amazon Linux 2

In this tutorial we learn how to install texlive-filecontents.noarch in Amazon Linux 2. texlive-filecontents.noarch is Extended filecontents and filecontents* environments

Introduction

In this tutorial we learn how to install texlive-filecontents.noarch on Amazon Linux 2.

What is texlive-filecontents.noarch

LaTeX2e’s filecontents and filecontents* environments enable a LaTeX source file to generate external files as it runs through LaTeX. However, there are two limitations of these environments can only be used in the preamble of a document. The filecontents package removes these limitations, letting you overwrite existing files and letting you use filecontents/filecontents* anywhere. date

We can use yum to install texlive-filecontents.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-filecontents.noarch.

Install texlive-filecontents.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install texlive-filecontents.noarch

How To Uninstall texlive-filecontents.noarch on Amazon Linux 2

To uninstall only the texlive-filecontents.noarch package we can use the following command:

sudo yum remove texlive-filecontents.noarch

texlive-filecontents.noarch Package Contents on Amazon Linux 2

/usr/share/doc/texlive-filecontents-svn24250.1.3
/usr/share/doc/texlive-filecontents-svn24250.1.3/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/filecontents/filecontents.sty

References

Summary

In this tutorial we learn how to install texlive-filecontents.noarch on Amazon Linux 2 using yum.