How To Install libeasy-format-ocaml on Debian 10

Learn how to install libeasy-format-ocaml on Debian 10 with this tutorial. libeasy-format-ocaml is easy(ier) pretty printing for OCaml - plugins

Introduction

In this tutorial we learn how to install libeasy-format-ocaml on Debian 10.

What is libeasy-format-ocaml

libeasy-format-ocaml is:

This module offers a simplified interface to the Format module of the OCaml standard library. Input data must be converted into a tree using 3 kinds of nodes: atoms, lists and labelled nodes. Each node is bound to its own formatting parameters and a single function call produces the formatted output.

This package contains the shared runtime libraries.

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

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

sudo apt-get update

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

sudo apt-get -y install libeasy-format-ocaml

Install libeasy-format-ocaml Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libeasy-format-ocaml using apt by running the following command:

sudo apt -y install libeasy-format-ocaml

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

sudo aptitude -y install libeasy-format-ocaml

How To Uninstall libeasy-format-ocaml on Debian 10

To uninstall only the libeasy-format-ocaml package we can use the following command:

sudo apt-get remove libeasy-format-ocaml

Uninstall libeasy-format-ocaml And Its Dependencies

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

sudo apt-get -y autoremove libeasy-format-ocaml

Remove libeasy-format-ocaml Configurations and Data

To remove libeasy-format-ocaml configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libeasy-format-ocaml

Remove libeasy-format-ocaml configuration, data, and all of its dependencies

We can use the following command to remove libeasy-format-ocaml configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libeasy-format-ocaml

Dependencies

libeasy-format-ocaml have the following dependencies:

References

Summary

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