How To Install xfig on CentOS 7
Introduction
In this tutorial we learn how to install xfig on CentOS 7.
What is xfig
Xfig is an X Window System tool for creating basic vector graphics, including bezier curves, lines, rulers and more. The resulting graphics can be saved, printed on PostScript printers or converted to a variety of other formats (e.g., X11 bitmaps, Encapsulated PostScript, LaTeX). You should install xfig if you need a simple program to create vector graphics.
We can use yum or dnf to install xfig on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install xfig.
Install xfig on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install xfig using yum by running the following command:
sudo yum -y install xfig
Install xfig 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 xfig using dnf by running the following command:
sudo dnf -y install xfig
How To Uninstall xfig on CentOS 7
To uninstall only the xfig package we can use the following command:
sudo dnf remove xfig
References
Summary
In this tutorial we learn how to install xfig on CentOS 7 using yum and dnf.