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

In this tutorial we learn how to install texlive-ifluatex.noarch in Amazon Linux 2. texlive-ifluatex.noarch is Provides the \ifluatex switch

Introduction

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

What is texlive-ifluatex.noarch

The package looks for LuaTeX regardless of its mode and provides the switch \ifluatex; it works with Plain TeX or LaTeX. The package is part of the oberdiek bundle. date

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

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

sudo yum -y install texlive-ifluatex.noarch

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

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

sudo yum remove texlive-ifluatex.noarch

texlive-ifluatex.noarch Package Contents on Amazon Linux 2

/usr/share/doc/texlive-ifluatex-svn26725.1.3
/usr/share/doc/texlive-ifluatex-svn26725.1.3/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty

References

Summary

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