How To Install texlive-mpcolornames on Fedora 36

In this tutorial we learn how to install texlive-mpcolornames in Fedora 36. texlive-mpcolornames is Extend list of predefined colour names for MetaPost

Introduction

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

What is texlive-mpcolornames

The MetaPost format plain.mp provides only five built-in colour names (variables), all of which are defined in the RGB model red, green and blue for the primary colours and black and white. The package makes more than 500 colour names from different colour sets in different colour models available to MetaPost. Colour sets include X11, SVG, DVIPS and xcolor specifications.

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

Install texlive-mpcolornames 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-mpcolornames using dnf by running the following command:

sudo dnf -y install texlive-mpcolornames

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

sudo yum -y install texlive-mpcolornames

How To Uninstall texlive-mpcolornames on Fedora 36

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

sudo dnf remove texlive-mpcolornames

texlive-mpcolornames Package Contents on Fedora 36

/usr/share/licenses/texlive-mpcolornames
/usr/share/licenses/texlive-mpcolornames/lppl1.txt
/usr/share/texlive/texmf-dist/metapost/mpcolornames
/usr/share/texlive/texmf-dist/metapost/mpcolornames/mpcolornames-spec-dvipsnam-def.mp
/usr/share/texlive/texmf-dist/metapost/mpcolornames/mpcolornames-spec-plain-mp.mp
/usr/share/texlive/texmf-dist/metapost/mpcolornames/mpcolornames-spec-svgnam-def.mp
/usr/share/texlive/texmf-dist/metapost/mpcolornames/mpcolornames-spec-x11nam-def.mp
/usr/share/texlive/texmf-dist/metapost/mpcolornames/mpcolornames-spec-xcolor-sty.mp
/usr/share/texlive/texmf-dist/metapost/mpcolornames/mpcolornames.mp

References

Summary

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