How To Install libmelt-ocaml-dev on Debian 9

In this tutorial we learn how to install libmelt-ocaml-dev on Debian 9. libmelt-ocaml-dev is LaTeX with OCaml (libraries)

Introduction

In this tutorial we learn how to install libmelt-ocaml-dev on Debian 9.

What is libmelt-ocaml-dev

libmelt-ocaml-dev is:

Melt is a set of libraries and tools which allows you to program LaTeX documents using OCaml. This combines the typesetting power of LaTeX with the programming power of OCaml. It can be combined with Mlpost to include figures.

This package contains libraries needed to compile Melt files.

There are three methods to install libmelt-ocaml-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmelt-ocaml-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libmelt-ocaml-dev

Install libmelt-ocaml-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmelt-ocaml-dev

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

sudo aptitude -y install libmelt-ocaml-dev

How To Uninstall libmelt-ocaml-dev on Debian 9

To uninstall only the libmelt-ocaml-dev package we can use the following command:

sudo apt-get remove libmelt-ocaml-dev

Uninstall libmelt-ocaml-dev And Its Dependencies

To uninstall libmelt-ocaml-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libmelt-ocaml-dev

Remove libmelt-ocaml-dev Configurations and Data

To remove libmelt-ocaml-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libmelt-ocaml-dev

Remove libmelt-ocaml-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmelt-ocaml-dev

Dependencies

libmelt-ocaml-dev have the following dependencies:

References

Summary

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