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

In this tutorial we learn how to install texlive-pdftex-def.noarch in Amazon Linux 2. texlive-pdftex-def.noarch is Colour and Graphics support for PDFTeX

Introduction

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

What is texlive-pdftex-def.noarch

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

We can use yum to install texlive-pdftex-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-pdftex-def.noarch.

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

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

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

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

sudo yum remove texlive-pdftex-def.noarch

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

/usr/share/doc/texlive-pdftex-def-svn22653.0.06d
/usr/share/doc/texlive-pdftex-def-svn22653.0.06d/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def

References

Summary

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