How To Install tcllib-critcl on Ubuntu 18.04

In this tutorial we learn how to install tcllib-critcl on Ubuntu 18.04. tcllib-critcl is Standard Tcl Library (CriTcl accelerators)

Introduction

In this tutorial we learn how to install tcllib-critcl on Ubuntu 18.04.

What is tcllib-critcl

tcllib-critcl is:

Tcllib, the standard Tcl library, is a collection of common utility functions and modules all written in high-level Tcl.

This package includes several Tcllib CPU intensive procedures rewritten in C and built with CriTcl.

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

Install tcllib-critcl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tcllib-critcl

Install tcllib-critcl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tcllib-critcl

Install tcllib-critcl 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install tcllib-critcl

How To Uninstall tcllib-critcl on Ubuntu 18.04

To uninstall only the tcllib-critcl package we can use the following command:

sudo apt-get remove tcllib-critcl

Uninstall tcllib-critcl And Its Dependencies

To uninstall tcllib-critcl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove tcllib-critcl

Remove tcllib-critcl Configurations and Data

To remove tcllib-critcl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge tcllib-critcl

Remove tcllib-critcl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tcllib-critcl

References

Summary

In this tutorial we learn how to install tcllib-critcl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.