How To Install tth on Fedora 34

tth is TeX to HTML/MathML translators

Introduction

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

What is tth

TTH translates TeX, the predominant mark-up language for expressing mathematics, into HTML, the language of world-wide-web browsers. It thereby enables mathematical documents to be made available on the web. Document structure, using either the Plain or LaTeX macro packages, is also translated and incorporated in the form of hyperlinks. TTH is extremely fast and completely portable. It produces more compact, faster viewing, web documents than other converters, because it really translates the equations, instead of converting them to images.

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

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

sudo dnf -y install tth

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

sudo yum -y install tth

How To Uninstall tth on Fedora 34

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

sudo dnf remove tth

tth Package Contents on Fedora 34

/usr/bin/latex2gif
/usr/bin/ps2gif
/usr/bin/ps2gif_transparent
/usr/bin/ps2png
/usr/bin/tth
/usr/bin/tth-numbering
/usr/bin/tth-structure
/usr/bin/tthprep
/usr/bin/tthrfcat
/usr/bin/tthsplit
/usr/bin/ttm
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/22d2e62f98901b709d1f7b24b414954ecac832
/usr/lib/.build-id/39
/usr/lib/.build-id/39/f1a64072244ba3d0200acbe6d04900f4299c74
/usr/lib/.build-id/74
/usr/lib/.build-id/74/885773618e76c67cbeb8494508b4dffc99ec02
/usr/lib/.build-id/79
/usr/lib/.build-id/79/f0f324dfe4f936ce472c8e75c745269412b861
/usr/share/doc/tth
/usr/share/doc/tth/CHANGES
/usr/share/doc/tth/README
/usr/share/doc/tth/split
/usr/share/doc/tth/split/docindex.html
/usr/share/doc/tth/split/footnote.html
/usr/share/doc/tth/split/index.html
/usr/share/doc/tth/split/makefile
/usr/share/doc/tth/split/sec1.html
/usr/share/doc/tth/split/sec10.html
/usr/share/doc/tth/split/sec11.html
/usr/share/doc/tth/split/sec12.html
/usr/share/doc/tth/split/sec13.html
/usr/share/doc/tth/split/sec14.html
/usr/share/doc/tth/split/sec15.html
/usr/share/doc/tth/split/sec16.html
/usr/share/doc/tth/split/sec2.html
/usr/share/doc/tth/split/sec3.html
/usr/share/doc/tth/split/sec4.html
/usr/share/doc/tth/split/sec5.html
/usr/share/doc/tth/split/sec6.html
/usr/share/doc/tth/split/sec7.html
/usr/share/doc/tth/split/sec8.html
/usr/share/doc/tth/split/sec9.html
/usr/share/doc/tth/split/secA.html
/usr/share/doc/tth/split/secB.html
/usr/share/doc/tth/tth.gif
/usr/share/doc/tth/tth16.png
/usr/share/doc/tth/tth32.png
/usr/share/doc/tth/tth_manual.html
/usr/share/doc/tth/tth_screen.gif
/usr/share/doc/tth/ttm.gif
/usr/share/doc/tth/ttm_manual.html
/usr/share/man/man1/latex2gif.1.gz
/usr/share/man/man1/ps2gif.1.gz
/usr/share/man/man1/ps2gif_transparent.1.gz
/usr/share/man/man1/ps2png.1.gz
/usr/share/man/man1/tth.1.gz
/usr/share/man/man1/ttm.1.gz

References

Summary

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