How To Install jimsh on Debian 11

In this tutorial we learn how to install jimsh on Debian 11. jimsh is small-footprint implementation of Tcl named Jim

Introduction

In this tutorial we learn how to install jimsh on Debian 11.

What is jimsh

jimsh is:

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. All this with a binary size of about 100-200kB (depending upon selected options).

This package provides the Jim interactive shell.

There are three methods to install jimsh on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install jimsh Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install jimsh using apt-get by running the following command:

sudo apt-get -y install jimsh

Install jimsh Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jimsh using apt by running the following command:

sudo apt -y install jimsh

Install jimsh Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install jimsh using aptitude by running the following command:

sudo aptitude -y install jimsh

How To Uninstall jimsh on Debian 11

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

sudo apt-get remove jimsh

Uninstall jimsh And Its Dependencies

To uninstall jimsh and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove jimsh

Remove jimsh Configurations and Data

To remove jimsh configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge jimsh

Remove jimsh configuration, data, and all of its dependencies

We can use the following command to remove jimsh configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jimsh

Dependencies

jimsh have the following dependencies:

References

Summary

In this tutorial we learn how to install jimsh package on Debian 11 using different package management tools: apt, apt-get and aptitude.