How To Install libpgraphutil-smlnj on Ubuntu 18.04

In this tutorial we learn how to install libpgraphutil-smlnj on Ubuntu 18.04. libpgraphutil-smlnj is Portable graph utility library for SML Compilation Manager

Introduction

In this tutorial we learn how to install libpgraphutil-smlnj on Ubuntu 18.04.

What is libpgraphutil-smlnj

libpgraphutil-smlnj is:

Utility routines for use with portable dependency graphs. This package contains support to build list-of-edges dependency graphs and convert them back into valid SML code.

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

sudo apt-get -y install libpgraphutil-smlnj

Install libpgraphutil-smlnj Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpgraphutil-smlnj

Install libpgraphutil-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libpgraphutil-smlnj

How To Uninstall libpgraphutil-smlnj on Ubuntu 18.04

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

sudo apt-get remove libpgraphutil-smlnj

Uninstall libpgraphutil-smlnj And Its Dependencies

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

sudo apt-get -y autoremove libpgraphutil-smlnj

Remove libpgraphutil-smlnj Configurations and Data

To remove libpgraphutil-smlnj configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libpgraphutil-smlnj

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

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

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

References

Summary

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