How To Install tdom on Fedora 34

tdom is DOM parser for Tcl

Introduction

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

What is tdom

tDOM combines high performance XML data processing with easy and powerful Tcl scripting functionality. tDOM should be one of the fastest ways to manipulate XML with a scripting language and uses very little memory.

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

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

sudo dnf -y install tdom

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

sudo yum -y install tdom

How To Uninstall tdom on Fedora 34

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

sudo dnf remove tdom

tdom Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/6d841f914b68e52d40ed707c24ea4327330f3d
/usr/lib64/libtdom0.8.2.so
/usr/lib64/tcl8.6/tdom0.8.2
/usr/lib64/tcl8.6/tdom0.8.2/pkgIndex.tcl
/usr/lib64/tcl8.6/tdom0.8.2/tdom.tcl
/usr/share/doc/tdom
/usr/share/doc/tdom/CHANGES
/usr/share/doc/tdom/ChangeLog
/usr/share/doc/tdom/LICENSE
/usr/share/doc/tdom/NPL-1_1Final.html
/usr/share/doc/tdom/README
/usr/share/doc/tdom/category-index.html
/usr/share/doc/tdom/dom.html
/usr/share/doc/tdom/domDoc.html
/usr/share/doc/tdom/domNode.html
/usr/share/doc/tdom/expat.html
/usr/share/doc/tdom/expatapi.html
/usr/share/doc/tdom/index.html
/usr/share/doc/tdom/keyword-index.html
/usr/share/doc/tdom/tdomcmd.html
/usr/share/doc/tdom/tnc.html
/usr/share/man/mann/dom.n.gz
/usr/share/man/mann/domDoc.n.gz
/usr/share/man/mann/domNode.n.gz
/usr/share/man/mann/expat.n.gz
/usr/share/man/mann/expatapi.n.gz
/usr/share/man/mann/tdomcmd.n.gz
/usr/share/man/mann/tnc.n.gz

References

Summary

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