How To Install liblambda-term-ocaml-dev on Debian 9

In this tutorial we learn how to install liblambda-term-ocaml-dev on Debian 9. liblambda-term-ocaml-dev is terminal manipulation library for OCaml (development tools)

Introduction

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

What is liblambda-term-ocaml-dev

liblambda-term-ocaml-dev is:

Lambda-term is a cross-platform library for manipulating the terminal. It provides abstraction for keys, mouse events, colors, as well as a set of widgets to write curses-oriented applications.

This package contains the development stuff needed to use the lambda-term library in your programs.

There are three methods to install liblambda-term-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 liblambda-term-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 liblambda-term-ocaml-dev using apt-get by running the following command:

sudo apt-get -y install liblambda-term-ocaml-dev

Install liblambda-term-ocaml-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblambda-term-ocaml-dev

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

sudo aptitude -y install liblambda-term-ocaml-dev

How To Uninstall liblambda-term-ocaml-dev on Debian 9

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

sudo apt-get remove liblambda-term-ocaml-dev

Uninstall liblambda-term-ocaml-dev And Its Dependencies

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

sudo apt-get -y autoremove liblambda-term-ocaml-dev

Remove liblambda-term-ocaml-dev Configurations and Data

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

sudo apt-get -y purge liblambda-term-ocaml-dev

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

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

sudo apt-get -y autoremove --purge liblambda-term-ocaml-dev

Dependencies

liblambda-term-ocaml-dev have the following dependencies:

References

Summary

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