How To Install transfig on Fedora 34

transfig is Utility for converting FIG files (made by xfig) to other formats

Introduction

In this tutorial we learn how to install transfig on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install transfig.

Install transfig on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install transfig

Install transfig on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove transfig

transfig Package Contents on Fedora 34

/usr/bin/fig2dev
/usr/bin/fig2ps2tex
/usr/bin/pic2tpic
/usr/bin/transfig
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/23c9a45a6a6266b163be524c28799123a906c4
/usr/lib/.build-id/75
/usr/lib/.build-id/75/a3c91cc640f744fd5036efeebe8c8752045334
/usr/share/doc/transfig
/usr/share/doc/transfig/CHANGES
/usr/share/doc/transfig/manual.pdf
/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.CP1251.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/i18n/uk_UA.KOI8-U.ps
/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
/usr/bin/fig2dev
/usr/bin/fig2ps2tex
/usr/bin/pic2tpic
/usr/bin/transfig
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/a6dfcc69d6705cea67f7e272582d676c39e654
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/066db3d29bde47b466b053f1746537456291b6
/usr/share/doc/transfig
/usr/share/doc/transfig/CHANGES
/usr/share/doc/transfig/manual.pdf
/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.CP1251.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/i18n/uk_UA.KOI8-U.ps
/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 Fedora 34 using yum and dnf.