How To Install dot2tex on Fedora 34

dot2tex is A Graphviz to LaTeX converter

Introduction

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

What is dot2tex

Dot2tex is a tool for converting graphs rendered by Graphviz to formats that can be used with LaTeX.

We can use yum or dnf to install dot2tex on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dot2tex.

Install dot2tex 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 dot2tex using dnf by running the following command:

sudo dnf -y install dot2tex

Install dot2tex 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 dot2tex using yum by running the following command:

sudo yum -y install dot2tex

How To Uninstall dot2tex on Fedora 34

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

sudo dnf remove dot2tex

dot2tex Package Contents on Fedora 34

/usr/bin/dot2tex
/usr/lib/python3.9/site-packages/dot2tex
/usr/lib/python3.9/site-packages/dot2tex-2.11.3-py3.9.egg-info
/usr/lib/python3.9/site-packages/dot2tex-2.11.3-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/dot2tex-2.11.3-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/dot2tex-2.11.3-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/dot2tex-2.11.3-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/dot2tex-2.11.3-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/dot2tex-2.11.3-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/dot2tex/__init__.py
/usr/lib/python3.9/site-packages/dot2tex/__pycache__
/usr/lib/python3.9/site-packages/dot2tex/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dot2tex/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/dot2tex/__pycache__/dot2tex.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dot2tex/__pycache__/dot2tex.cpython-39.pyc
/usr/lib/python3.9/site-packages/dot2tex/__pycache__/dotparsing.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/dot2tex/__pycache__/dotparsing.cpython-39.pyc
/usr/lib/python3.9/site-packages/dot2tex/dot2tex.py
/usr/lib/python3.9/site-packages/dot2tex/dotparsing.py
/usr/share/doc/dot2tex
/usr/share/doc/dot2tex/docs
/usr/share/doc/dot2tex/docs/Makefile
/usr/share/doc/dot2tex/docs/changelog.rst
/usr/share/doc/dot2tex/docs/common.inc
/usr/share/doc/dot2tex/docs/conf.py
/usr/share/doc/dot2tex/docs/customization_guide.rst
/usr/share/doc/dot2tex/docs/docgraphs
/usr/share/doc/dot2tex/docs/docgraphs/balls.dot
/usr/share/doc/dot2tex/docs/docgraphs/ex1.dot
/usr/share/doc/dot2tex/docs/docgraphs/ex1b.dot
/usr/share/doc/dot2tex/docs/docgraphs/ex2.dot
/usr/share/doc/dot2tex/docs/docgraphs/ex3.dot
/usr/share/doc/dot2tex/docs/docgraphs/ex4.dot
/usr/share/doc/dot2tex/docs/docgraphs/lblstyle.dot
/usr/share/doc/dot2tex/docs/docgraphs/nodesize.dot
/usr/share/doc/dot2tex/docs/docgraphs/pgfarrows.dot
/usr/share/doc/dot2tex/docs/docgraphs/preproc1.dot
/usr/share/doc/dot2tex/docs/docgraphs/pstarrows.dot
/usr/share/doc/dot2tex/docs/docgraphs/simple.dot
/usr/share/doc/dot2tex/docs/docgraphs/simplelbl.dot
/usr/share/doc/dot2tex/docs/docgraphs/topaths1.dot
/usr/share/doc/dot2tex/docs/docgraphs/valignmode1.dot
/usr/share/doc/dot2tex/docs/img
/usr/share/doc/dot2tex/docs/img/balls.pdf
/usr/share/doc/dot2tex/docs/img/balls.png
/usr/share/doc/dot2tex/docs/img/consistent.pdf
/usr/share/doc/dot2tex/docs/img/consistent.png
/usr/share/doc/dot2tex/docs/img/dot2texiex1.pdf
/usr/share/doc/dot2tex/docs/img/dot2texiex1.png
/usr/share/doc/dot2tex/docs/img/dot2texiex2.pdf
/usr/share/doc/dot2tex/docs/img/dot2texiex2.png
/usr/share/doc/dot2tex/docs/img/ex1.png
/usr/share/doc/dot2tex/docs/img/ex1bcomb.png
/usr/share/doc/dot2tex/docs/img/ex1comb.pdf
/usr/share/doc/dot2tex/docs/img/ex1comb.png
/usr/share/doc/dot2tex/docs/img/ex1def.png
/usr/share/doc/dot2tex/docs/img/ex1gstyle.pdf
/usr/share/doc/dot2tex/docs/img/ex1gstyle.png
/usr/share/doc/dot2tex/docs/img/ex1huge.pdf
/usr/share/doc/dot2tex/docs/img/ex1huge.png
/usr/share/doc/dot2tex/docs/img/ex2.pdf
/usr/share/doc/dot2tex/docs/img/ex2.png
/usr/share/doc/dot2tex/docs/img/fsm1.pdf
/usr/share/doc/dot2tex/docs/img/fsm1.png
/usr/share/doc/dot2tex/docs/img/lblstyle.pdf
/usr/share/doc/dot2tex/docs/img/lblstyle.png
/usr/share/doc/dot2tex/docs/img/nodewidth1.pdf
/usr/share/doc/dot2tex/docs/img/nodewidth1.png
/usr/share/doc/dot2tex/docs/img/nodewidth2.pdf
/usr/share/doc/dot2tex/docs/img/nodewidth2.png
/usr/share/doc/dot2tex/docs/img/pgfarrows.pdf
/usr/share/doc/dot2tex/docs/img/pgfarrows.png
/usr/share/doc/dot2tex/docs/img/pgfsimple.png
/usr/share/doc/dot2tex/docs/img/pgftikzsimple.pdf
/usr/share/doc/dot2tex/docs/img/pgftikzsimple.png
/usr/share/doc/dot2tex/docs/img/preproc1a.pdf
/usr/share/doc/dot2tex/docs/img/preproc1a.png
/usr/share/doc/dot2tex/docs/img/preproc1b.pdf
/usr/share/doc/dot2tex/docs/img/preproc1b.png
/usr/share/doc/dot2tex/docs/img/pstarrows.pdf
/usr/share/doc/dot2tex/docs/img/pstarrows.png
/usr/share/doc/dot2tex/docs/img/texmode.pdf
/usr/share/doc/dot2tex/docs/img/texmode.png
/usr/share/doc/dot2tex/docs/img/texmodeb.pdf
/usr/share/doc/dot2tex/docs/img/texmodeb.png
/usr/share/doc/dot2tex/docs/img/tikzedgelabels.pdf
/usr/share/doc/dot2tex/docs/img/tikzedgelabels.png
/usr/share/doc/dot2tex/docs/img/tikzsimple.png
/usr/share/doc/dot2tex/docs/img/topaths1.pdf
/usr/share/doc/dot2tex/docs/img/topaths1.png
/usr/share/doc/dot2tex/docs/img/valignmode0.pdf
/usr/share/doc/dot2tex/docs/img/valignmode0.png
/usr/share/doc/dot2tex/docs/img/valignmode1.pdf
/usr/share/doc/dot2tex/docs/img/valignmode1.png
/usr/share/doc/dot2tex/docs/img/valignmode2.pdf
/usr/share/doc/dot2tex/docs/img/valignmode2.png
/usr/share/doc/dot2tex/docs/img/valignmode3.pdf
/usr/share/doc/dot2tex/docs/img/valignmode3.png
/usr/share/doc/dot2tex/docs/index.rst
/usr/share/doc/dot2tex/docs/installation_guide.rst
/usr/share/doc/dot2tex/docs/license.rst
/usr/share/doc/dot2tex/docs/make.bat
/usr/share/doc/dot2tex/docs/module_guide.rst
/usr/share/doc/dot2tex/docs/tipsandtricks.rst
/usr/share/doc/dot2tex/docs/usage_guide.rst
/usr/share/doc/dot2tex/examples
/usr/share/doc/dot2tex/examples/automata.dot
/usr/share/doc/dot2tex/examples/balls.dot
/usr/share/doc/dot2tex/examples/distances.dot
/usr/share/doc/dot2tex/examples/dotarrows.dot
/usr/share/doc/dot2tex/examples/dropshadows.dot
/usr/share/doc/dot2tex/examples/ex1.dot
/usr/share/doc/dot2tex/examples/graphanndtti.tex
/usr/share/doc/dot2tex/examples/graphofgraphs.dot
/usr/share/doc/dot2tex/examples/gvcols.tex
/usr/share/doc/dot2tex/examples/latexmarkup.dot
/usr/share/doc/dot2tex/examples/pgfarrows.dot
/usr/share/doc/dot2tex/examples/pgfsnakes.dot
/usr/share/doc/dot2tex/examples/poltab.dot
/usr/share/doc/dot2tex/examples/pstarrows.dot
/usr/share/doc/dot2tex/examples/showpoints.dot
/usr/share/doc/dot2tex/examples/sportsbracket.dot
/usr/share/doc/dot2tex/examples/subgraphs.dot
/usr/share/doc/dot2tex/examples/tank.dot
/usr/share/doc/dot2tex/examples/tikzautomata.dot
/usr/share/doc/dot2tex/examples/tikzshapes.dot
/usr/share/doc/dot2tex/examples/transp.dot
/usr/share/licenses/dot2tex
/usr/share/licenses/dot2tex/LICENSE

References

Summary

In this tutorial we learn how to install dot2tex on Fedora 34 using yum and dnf.