How To Install texlive-pgf on AlmaLinux 8

In this tutorial we learn how to install texlive-pgf in AlmaLinux 8. texlive-pgf is Create PostScript and PDF graphics in TeX

Introduction

In this tutorial we learn how to install texlive-pgf on AlmaLinux 8.

What is texlive-pgf

PGF is a macro package for creating graphics. It is platform- and format-independent and works together with the most important TeX backend drivers, including pdftex and dvips. It comes with a user-friendly syntax layer called TikZ. Its usage is similar to pstricks and the standard picture environment. PGF works with plain (pdf-)TeX, (pdf-)LaTeX, and ConTeXt. Unlike pstricks, it can produce either PostScript or PDF output.

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

Install texlive-pgf on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install texlive-pgf

Install texlive-pgf on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install texlive-pgf

How To Uninstall texlive-pgf on AlmaLinux 8

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

sudo dnf remove texlive-pgf

References

Summary

In this tutorial we learn how to install texlive-pgf on AlmaLinux 8 using yum and dnf.