How To Install libjim-dev on Ubuntu 18.04

In this tutorial we learn how to install libjim-dev on Ubuntu 18.04. libjim-dev is small-footprint implementation of Tcl - development files

Introduction

In this tutorial we learn how to install libjim-dev on Ubuntu 18.04.

What is libjim-dev

libjim-dev 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 libjim development files.

There are three methods to install libjim-dev 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 libjim-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libjim-dev

Install libjim-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjim-dev

Install libjim-dev 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 libjim-dev using aptitude by running the following command:

sudo aptitude -y install libjim-dev

How To Uninstall libjim-dev on Ubuntu 18.04

To uninstall only the libjim-dev package we can use the following command:

sudo apt-get remove libjim-dev

Uninstall libjim-dev And Its Dependencies

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

sudo apt-get -y autoremove libjim-dev

Remove libjim-dev Configurations and Data

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

sudo apt-get -y purge libjim-dev

Remove libjim-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjim-dev

References

Summary

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