How To Install fig2ps on Fedora 36
Introduction
In this tutorial we learn how to install fig2ps
on Fedora 36.
What is fig2ps
fig2ps is a perl script which converts xfig files to postscript or PDF, using LaTeX for processing text (a capability not included in transfig). This provides the benefit of seamless integration of figures into documents (the font in the figures is the same as in the text), and allows for special typesetting commands (such as mathematical equations) to be included in figures.
We can use yum
or dnf
to install fig2ps
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install fig2ps.
Install fig2ps on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install fig2ps
using dnf
by running the following command:
sudo dnf -y install fig2ps
Install fig2ps on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install fig2ps
using yum
by running the following command:
sudo yum -y install fig2ps
How To Uninstall fig2ps on Fedora 36
To uninstall only the fig2ps
package we can use the following command:
sudo dnf remove fig2ps
fig2ps Package Contents on Fedora 36
/etc/fig2ps
/etc/fig2ps/fig2ps.rc
/usr/bin/fig2eps
/usr/bin/fig2pdf
/usr/bin/fig2ps
/usr/share/doc/fig2ps
/usr/share/doc/fig2ps/ChangeLog
/usr/share/doc/fig2ps/README
/usr/share/doc/fig2ps/examples
/usr/share/doc/fig2ps/examples/Example.fig
/usr/share/doc/fig2ps/examples/Image_inclusion.fig
/usr/share/doc/fig2ps/examples/Included_file.png
/usr/share/doc/fig2ps/examples/Large-example.fig
/usr/share/licenses/fig2ps
/usr/share/licenses/fig2ps/GPL.txt
/usr/share/man/man1/fig2eps.1.gz
/usr/share/man/man1/fig2pdf.1.gz
/usr/share/man/man1/fig2ps.1.gz
References
Summary
In this tutorial we learn how to install fig2ps
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).