How To Install nickle on Ubuntu 22.04

In this tutorial we learn how to install nickle on Ubuntu 22.04. nickle is desk calculator language

Introduction

In this tutorial we learn how to install nickle on Ubuntu 22.04.

What is nickle

nickle is:

Nickle is a language with powerful programming and scripting capabilities. Nickle supports a variety of datatypes, especially arbitrary precision integers, rationals, and imprecise reals. The input language vaguely resembles C. Some things in C which do not translate easily are different, some design choices have been made differently, and a very few features are simply missing.

There are three methods to install nickle on Ubuntu 22.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 nickle Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nickle

Install nickle Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nickle

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

sudo aptitude -y install nickle

How To Uninstall nickle on Ubuntu 22.04

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

sudo apt-get remove nickle

Uninstall nickle And Its Dependencies

To uninstall nickle and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove nickle

Remove nickle Configurations and Data

To remove nickle configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge nickle

Remove nickle configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nickle

References

Summary

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