How To Install libcml-smlnj on Debian 10

Learn how to install libcml-smlnj on Debian 10 with this tutorial. libcml-smlnj is Concurrent ML extension of SML

Introduction

In this tutorial we learn how to install libcml-smlnj on Debian 10.

What is libcml-smlnj

libcml-smlnj is:

An SML library for message-passing concurrency. This library adds threading support to SML. Each thread is then manually executed by running a separate function, rather than being called directly by the top-level SML loop.

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

Install libcml-smlnj Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libcml-smlnj

Install libcml-smlnj Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcml-smlnj

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

sudo aptitude -y install libcml-smlnj

How To Uninstall libcml-smlnj on Debian 10

To uninstall only the libcml-smlnj package we can use the following command:

sudo apt-get remove libcml-smlnj

Uninstall libcml-smlnj And Its Dependencies

To uninstall libcml-smlnj and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libcml-smlnj

Remove libcml-smlnj Configurations and Data

To remove libcml-smlnj configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libcml-smlnj

Remove libcml-smlnj configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcml-smlnj

Dependencies

libcml-smlnj have the following dependencies:

References

Summary

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