How To Install texlive-xetex-def.noarch on Amazon Linux 2

In this tutorial we learn how to install texlive-xetex-def.noarch in Amazon Linux 2. texlive-xetex-def.noarch is Colour and graphics support for XeTeX

Introduction

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

What is texlive-xetex-def.noarch

The file xetex.def provides device-specific definitions for colour and graphics support when running Xe(La)TeX date

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

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

sudo yum -y install texlive-xetex-def.noarch

How To Uninstall texlive-xetex-def.noarch on Amazon Linux 2

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

sudo yum remove texlive-xetex-def.noarch

texlive-xetex-def.noarch Package Contents on Amazon Linux 2

/usr/share/doc/texlive-xetex-def-svn29154.0.95
/usr/share/doc/texlive-xetex-def-svn29154.0.95/lppl1.txt
/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def

References

Summary

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