How To Install texlive-pictex2 on Fedora 36

In this tutorial we learn how to install texlive-pictex2 in Fedora 36. texlive-pictex2 is Adds relative coordinates and improves the \plot command

Introduction

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

What is texlive-pictex2

Adds two user commands to standard PiCTeX. One command uses relative coordinates, thus eliminating the need to calculate the coordinate of every point manually as in standard PiCTeX. The other command modifies \plot to use a rule instead of dots if the line segment is horizontal or vertical.

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

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

sudo dnf -y install texlive-pictex2

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

sudo yum -y install texlive-pictex2

How To Uninstall texlive-pictex2 on Fedora 36

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

sudo dnf remove texlive-pictex2

texlive-pictex2 Package Contents on Fedora 36

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

References

Summary

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