How To Install dvisvgm on CentOS 7
Introduction
In this tutorial we learn how to install dvisvgm
on CentOS 7.
What is dvisvgm
dvisvgm is a command line utility that converts DVI files, as created by TeX/LaTeX, to the XML-based scalable vector graphics format SVG. It supports standard DVI files (format 2) as well as DVI output created by pTeX in vertical mode (format 3), and XeTeX (format 5, also known as XDV). Besides the basic DVI command set, dvisvgm also supports various special sets, like color, hyperref, PostScript and TPIC. Furthermore, dvisvgm offers an option to convert EPS files to SVG too. For more detailed information, see http
We can use yum
or dnf
to install dvisvgm
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install dvisvgm.
Install dvisvgm on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install dvisvgm
using yum
by running the following command:
sudo yum -y install dvisvgm
Install dvisvgm 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 dvisvgm
using dnf
by running the following command:
sudo dnf -y install dvisvgm
How To Uninstall dvisvgm on CentOS 7
To uninstall only the dvisvgm
package we can use the following command:
sudo dnf remove dvisvgm
References
Summary
In this tutorial we learn how to install dvisvgm
on CentOS 7 using yum
and dnf
.