How To Install libsmlnj-smlnj on Debian 10

Learn how to install libsmlnj-smlnj on Debian 10 with this tutorial. libsmlnj-smlnj is Useful libraries for Standard ML of New Jersey

Introduction

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

What is libsmlnj-smlnj

libsmlnj-smlnj is:

A library for SML, including:

  • Util A general utility library.
  • Controls A library of support code for managing application controls.
  • HashCons A library supporting hash-consing of data structures and efficient sets and maps using hash-consed keys.
  • HTML Provides parsing and pretty printing of HTML.
  • INet Networking utilities.
  • PP Pretty-printing library.
  • Reactive A low-level reactive scripting library.
  • RegExp Regular-expression library.
  • Unix A set of unix specific utilities.

There are three methods to install libsmlnj-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 libsmlnj-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 libsmlnj-smlnj using apt-get by running the following command:

sudo apt-get -y install libsmlnj-smlnj

Install libsmlnj-smlnj Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsmlnj-smlnj

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

sudo aptitude -y install libsmlnj-smlnj

How To Uninstall libsmlnj-smlnj on Debian 10

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

sudo apt-get remove libsmlnj-smlnj

Uninstall libsmlnj-smlnj And Its Dependencies

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

sudo apt-get -y autoremove libsmlnj-smlnj

Remove libsmlnj-smlnj Configurations and Data

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

sudo apt-get -y purge libsmlnj-smlnj

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

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

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

Dependencies

libsmlnj-smlnj have the following dependencies:

References

Summary

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