How To Install texlive-pgf on CentOS 7
Introduction
In this tutorial we learn how to install texlive-pgf
on CentOS 7.
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. date
We can use yum
or dnf
to install texlive-pgf
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pgf.
Install texlive-pgf on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install texlive-pgf
using yum
by running the following command:
Install texlive-pgf 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.
After updating yum database, We can install texlive-pgf
using dnf
by running the following command:
How To Uninstall texlive-pgf on CentOS 7
To uninstall only the texlive-pgf
package we can use the following command:
References
Summary
In this tutorial we learn how to install texlive-pgf
on CentOS 7 using yum
and dnf
.