How To Install libpolyml9 on Ubuntu 18.04

In this tutorial we learn how to install libpolyml9 on Ubuntu 18.04. libpolyml9 is runtime files for Poly/ML, a compiler for Standard ML

Introduction

In this tutorial we learn how to install libpolyml9 on Ubuntu 18.04.

What is libpolyml9

libpolyml9 is:

Poly/ML is an implementation of the Standard ML programming language Standard ML is a general-purpose, modular, type-safe, strict, functional programming language. Poly/ML is SML 97 compliant interpreter and compiler that supports the generation of stand-alone executables with an interactive toplevel (REPL).

This package provides the files needed to run stand-alone executables built with Poly/ML.

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

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

sudo apt-get update

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

sudo apt-get -y install libpolyml9

Install libpolyml9 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpolyml9

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

sudo aptitude -y install libpolyml9

How To Uninstall libpolyml9 on Ubuntu 18.04

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

sudo apt-get remove libpolyml9

Uninstall libpolyml9 And Its Dependencies

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

sudo apt-get -y autoremove libpolyml9

Remove libpolyml9 Configurations and Data

To remove libpolyml9 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libpolyml9

Remove libpolyml9 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpolyml9

References

Summary

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