How To Install jimtcl on CentOS 8

jimtcl is A small embeddable Tcl interpreter A small embeddable Tcl interpreter

Introduction

In this tutorial we learn how to install jimtcl on CentOS 8.

What is jimtcl

Jim is an opensource small-footprint implementation of the Tcl programming language. It implements a large subset of Tcl and adds new features like references with garbage collection, closures, built-in Object Oriented Programming system, Functional Programming commands, first-class arrays and UTF-8 support. jimtcl 0.77 6.el8 x86_64 225 k jimtcl-0.77-6.el8.src.rpm baseos A small embeddable Tcl interpreter http BSD Jim is an opensource small-footprint implementation of the Tcl programming language. It implements a large subset of Tcl and adds new features like references with garbage collection, closures, built-in Object Oriented Programming system, Functional Programming commands, first-class arrays and UTF-8 support.

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

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

sudo dnf -y install jimtcl

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

sudo yum -y install jimtcl

How To Uninstall jimtcl on CentOS 8

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

sudo dnf remove jimtcl

jimtcl Package Contents on CentOS 8

/usr/bin/jimsh
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/0c6a0d2a7756ab293954b2fb0a5bd5a40d9803
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/98a5330dc55a09d94eaad3b769baa2629cc133
/usr/lib64/libjim.so.0.77
/usr/share/doc/jimtcl
/usr/share/doc/jimtcl/AUTHORS
/usr/share/doc/jimtcl/LICENSE
/usr/share/doc/jimtcl/README
/usr/share/doc/jimtcl/Tcl.html
/usr/bin/jimsh
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/e561e888cc54511874ec184b51ff9e38433b3e
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/3890b75a6cffde36f8ce2ddd7e0a1a78380239
/usr/lib/libjim.so.0.77
/usr/share/doc/jimtcl
/usr/share/doc/jimtcl/AUTHORS
/usr/share/doc/jimtcl/LICENSE
/usr/share/doc/jimtcl/README
/usr/share/doc/jimtcl/Tcl.html

References

Summary

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