How To Install texlive-pst-grad on CentOS 7

In this tutorial we learn how to install texlive-pst-grad on CentOS 7. texlive-pst-grad is Filling with colour gradients, using PStricks

Introduction

In this tutorial we learn how to install texlive-pst-grad on CentOS 7.

What is texlive-pst-grad

Pst-grad is a PSTricks based package for filling with colour gradients. Supported are colours in the RGB, CMYK or HSB models. Other colour gradient mechanisms are to be found in package pst-slpe. date

We can use yum or dnf to install texlive-pst-grad on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pst-grad.

Install texlive-pst-grad on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install texlive-pst-grad

Install texlive-pst-grad on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install texlive-pst-grad

How To Uninstall texlive-pst-grad on CentOS 7

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

sudo dnf remove texlive-pst-grad

References

Summary

In this tutorial we learn how to install texlive-pst-grad on CentOS 7 using yum and dnf.