How To Install texlive-pagecolor on Fedora 36

In this tutorial we learn how to install texlive-pagecolor in Fedora 36. texlive-pagecolor is Interrogate page colour

Introduction

In this tutorial we learn how to install texlive-pagecolor on Fedora 36.

What is texlive-pagecolor

This package provides the command \thepagecolor, which gives the current page (background) colour, i. e. the argument used with the most recent call of \pagecolor{…}. The command \thepagecolornone gives the same colour as \thepagecolor, except when the page background colour is “none” (e.g., as a result of using the \nopagecolor command). In that case \thepagecolor is “white” and \thepagecolornone is “none”.

We can use yum or dnf to install texlive-pagecolor on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pagecolor.

Install texlive-pagecolor on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install texlive-pagecolor

Install texlive-pagecolor on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install texlive-pagecolor

How To Uninstall texlive-pagecolor on Fedora 36

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

sudo dnf remove texlive-pagecolor

texlive-pagecolor Package Contents on Fedora 36

/usr/share/licenses/texlive-pagecolor
/usr/share/licenses/texlive-pagecolor/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/pagecolor
/usr/share/texlive/texmf-dist/tex/latex/pagecolor/pagecolor.sty

References

Summary

In this tutorial we learn how to install texlive-pagecolor on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).