How To Install libsmlnj-smlnj on Kali Linux

In this tutorial we learn how to install libsmlnj-smlnj on Kali Linux. libsmlnj-smlnj is Useful libraries for Standard ML of New Jersey

Introduction

In this tutorial we learn how to install libsmlnj-smlnj on Kali Linux.

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 Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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 Kali Linux, 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 Kali Linux 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 Kali Linux using different package management tools: apt, apt-get and aptitude.