How To Install transfig on Rocky Linux 8

In this tutorial we learn how to install transfig on Rocky Linux 8. transfig is Utility for converting FIG files (made by xfig) to other formats

Introduction

In this tutorial we learn how to install transfig on Rocky Linux 8.

What is transfig

The transfig utility creates a makefile which translates FIG (created by xfig) or PIC figures into a specified LaTeX graphics language (for example, PostScript(TM)). Transfig is used to create TeX documents which are portable (i.e., they can be printed in a wide variety of environments). Install transfig if you need a utility for translating FIG or PIC figures into certain graphics languages.

We can use yum or dnf to install transfig on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install transfig.

Install transfig on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install transfig using dnf by running the following command:

sudo dnf -y install transfig

Install transfig on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install transfig using yum by running the following command:

sudo yum -y install transfig

How To Uninstall transfig on Rocky Linux 8

To uninstall only the transfig package we can use the following command:

sudo dnf remove transfig

transfig Package Contents on Rocky Linux 8

/usr/bin/fig2dev
/usr/bin/fig2ps2tex
/usr/bin/pic2tpic
/usr/bin/transfig
/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/11a2a7144e3faaad75c0358582e600e08e5f8a
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/f8489b9835ef27d8ddb5a07f3d2c8496c86290
/usr/share/doc/transfig
/usr/share/doc/transfig/manual.pdf
/usr/share/fig2dev/bitmaps/bricks.bmp
/usr/share/fig2dev/bitmaps/circles.bmp
/usr/share/fig2dev/bitmaps/crosshatch.bmp
/usr/share/fig2dev/bitmaps/crosshatch30.bmp
/usr/share/fig2dev/bitmaps/crosshatch45.bmp
/usr/share/fig2dev/bitmaps/dash.bmp
/usr/share/fig2dev/bitmaps/dashDot.bmp
/usr/share/fig2dev/bitmaps/dashDotDot.bmp
/usr/share/fig2dev/bitmaps/dashDotDotDot.bmp
/usr/share/fig2dev/bitmaps/dot.bmp
/usr/share/fig2dev/bitmaps/fishscales.bmp
/usr/share/fig2dev/bitmaps/hexagons.bmp
/usr/share/fig2dev/bitmaps/horiz_saw.bmp
/usr/share/fig2dev/bitmaps/horizontal.bmp
/usr/share/fig2dev/bitmaps/left30.bmp
/usr/share/fig2dev/bitmaps/left45.bmp
/usr/share/fig2dev/bitmaps/leftshingle.bmp
/usr/share/fig2dev/bitmaps/octagons.bmp
/usr/share/fig2dev/bitmaps/p13.bmp
/usr/share/fig2dev/bitmaps/right30.bmp
/usr/share/fig2dev/bitmaps/right45.bmp
/usr/share/fig2dev/bitmaps/rightshingle.bmp
/usr/share/fig2dev/bitmaps/small_fishscales.bmp
/usr/share/fig2dev/bitmaps/sp0.bmp
/usr/share/fig2dev/bitmaps/sp1.bmp
/usr/share/fig2dev/bitmaps/sp10.bmp
/usr/share/fig2dev/bitmaps/sp11.bmp
/usr/share/fig2dev/bitmaps/sp12.bmp
/usr/share/fig2dev/bitmaps/sp13.bmp
/usr/share/fig2dev/bitmaps/sp14.bmp
/usr/share/fig2dev/bitmaps/sp15.bmp
/usr/share/fig2dev/bitmaps/sp16.bmp
/usr/share/fig2dev/bitmaps/sp17.bmp
/usr/share/fig2dev/bitmaps/sp18.bmp
/usr/share/fig2dev/bitmaps/sp19.bmp
/usr/share/fig2dev/bitmaps/sp2.bmp
/usr/share/fig2dev/bitmaps/sp20.bmp
/usr/share/fig2dev/bitmaps/sp3.bmp
/usr/share/fig2dev/bitmaps/sp4.bmp
/usr/share/fig2dev/bitmaps/sp5.bmp
/usr/share/fig2dev/bitmaps/sp6.bmp
/usr/share/fig2dev/bitmaps/sp7.bmp
/usr/share/fig2dev/bitmaps/sp8.bmp
/usr/share/fig2dev/bitmaps/sp9.bmp
/usr/share/fig2dev/bitmaps/vert_bricks.bmp
/usr/share/fig2dev/bitmaps/vert_leftshingle.bmp
/usr/share/fig2dev/bitmaps/vert_rightshingle.bmp
/usr/share/fig2dev/bitmaps/vert_saw.bmp
/usr/share/fig2dev/bitmaps/vertical.bmp
/usr/share/fig2dev/i18n/cs_CZ.ps
/usr/share/fig2dev/i18n/hr_HR.ps
/usr/share/fig2dev/i18n/hu_HU.ps
/usr/share/fig2dev/i18n/ja.ps
/usr/share/fig2dev/i18n/ja_JP.EUC.ps
/usr/share/fig2dev/i18n/ja_JP.eucJP.ps
/usr/share/fig2dev/i18n/ja_JP.ps
/usr/share/fig2dev/i18n/ja_JP.ujis.ps
/usr/share/fig2dev/i18n/japanese.ps
/usr/share/fig2dev/i18n/ko.ps
/usr/share/fig2dev/i18n/ko_KR.EUC.ps
/usr/share/fig2dev/i18n/ko_KR.eucKR.ps
/usr/share/fig2dev/i18n/ko_KR.ps
/usr/share/fig2dev/i18n/korean.ps
/usr/share/fig2dev/i18n/pl_PL.ps
/usr/share/fig2dev/i18n/ro_RO.ps
/usr/share/fig2dev/i18n/ru_RU.KOI8-R.ps
/usr/share/fig2dev/i18n/sk_SK.ps
/usr/share/fig2dev/i18n/sl_SI.ps
/usr/share/fig2dev/rgb.txt
/usr/share/man/man1/fig2dev.1.gz
/usr/share/man/man1/fig2ps2tex.1.gz
/usr/share/man/man1/pic2tpic.1.gz
/usr/share/man/man1/transfig.1.gz

References

Summary

In this tutorial we learn how to install transfig on Rocky Linux 8 using yum and dnf.