How To Install tcl-tclxml on CentOS 8

tcl-tclxml is XML parsing library for the Tcl scripting language

Introduction

In this tutorial we learn how to install tcl-tclxml on CentOS 8.

What is tcl-tclxml

TclXML is a package that provides XML, DOM, and XSLT parsing for the Tcl scripting language.

We can use yum or dnf to install tcl-tclxml on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tcl-tclxml.

Install tcl-tclxml on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install tcl-tclxml

Install tcl-tclxml on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install tcl-tclxml using yum by running the following command:

sudo yum -y install tcl-tclxml

How To Uninstall tcl-tclxml on CentOS 8

To uninstall only the tcl-tclxml package we can use the following command:

sudo dnf remove tcl-tclxml

tcl-tclxml Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/eff274ccf65e46bff99918eebb1fc08498e79f
/usr/lib64/tcl8.6/tclxml-3.2
/usr/lib64/tcl8.6/tclxml-3.2/libTclxml3.2.so
/usr/lib64/tcl8.6/tclxml-3.2/pkgIndex.tcl
/usr/lib64/tcl8.6/tclxml-3.2/process.tcl
/usr/lib64/tcl8.6/tclxml-3.2/resources.tcl
/usr/lib64/tcl8.6/tclxml-3.2/sgml-8.0.tcl
/usr/lib64/tcl8.6/tclxml-3.2/sgml-8.1.tcl
/usr/lib64/tcl8.6/tclxml-3.2/sgmlparser.tcl
/usr/lib64/tcl8.6/tclxml-3.2/tcldom-libxml2.tcl
/usr/lib64/tcl8.6/tclxml-3.2/tclparser-8.0.tcl
/usr/lib64/tcl8.6/tclxml-3.2/tclparser-8.1.tcl
/usr/lib64/tcl8.6/tclxml-3.2/tclxslt-libxslt.tcl
/usr/lib64/tcl8.6/tclxml-3.2/utilities.tcl
/usr/lib64/tcl8.6/tclxml-3.2/xml-8.0.tcl
/usr/lib64/tcl8.6/tclxml-3.2/xml-8.1.tcl
/usr/lib64/tcl8.6/tclxml-3.2/xml__tcl.tcl
/usr/lib64/tcl8.6/tclxml-3.2/xmldep.tcl
/usr/lib64/tcl8.6/tclxml-3.2/xmlswitch.tcl
/usr/lib64/tcl8.6/tclxml-3.2/xpath.tcl
/usr/lib64/tcl8.6/tclxml-3.2/xsltcache.tcl
/usr/share/doc/tcl-tclxml
/usr/share/doc/tcl-tclxml/ANNOUNCE
/usr/share/doc/tcl-tclxml/ChangeLog
/usr/share/doc/tcl-tclxml/LICENSE
/usr/share/doc/tcl-tclxml/README.html
/usr/share/doc/tcl-tclxml/tcldom.html
/usr/share/doc/tcl-tclxml/tclxml.html
/usr/share/doc/tcl-tclxml/tclxslt.html

References

Summary

In this tutorial we learn how to install tcl-tclxml on CentOS 8 using yum and dnf.