How To Install libocamlbricks-ocaml-dev on Debian 10

Learn how to install libocamlbricks-ocaml-dev on Debian 10 with this tutorial. libocamlbricks-ocaml-dev is Miscellaneous utility functions in OCaml for Marionnet

Introduction

In this tutorial we learn how to install libocamlbricks-ocaml-dev on Debian 10.

What is libocamlbricks-ocaml-dev

libocamlbricks-ocaml-dev is:

This OCaml library provides a set of needed and useful macros for developing. It is mainly used by the marionnet package. Modules and functionality are the following :

  • Configuration_files: Allow to get information from configuration files
  • Environments: Environments are useful for maintaining the state, intendend as a set of bindings, of a user interaction with a GUI
  • FilenameExtra: Additional features for the standard module Filename
  • Fix: Poor man fix point operators
  • Hashm[m]ap: 2 Module implementing polymorphic unbounded (multi) maps
  • Hashset: Very simple module implementing a polymorphic unbounded sets
  • Identifier: Build and manage unique (fresh) identifiers
  • Ledgrid: Constants Some global constant definitions, for fine-tuning
  • ListExtra: Additional features for the standard module List
  • Memo: Module for building memoised functions
  • Oomarshal: Object-oriented marshalling support
  • PreludeExtra: “Additional features” for the standard module Pervasives
  • Shell: A collection of (mainly quick and easy) wrappers for the most famous Unix tools and generic unix commands or scripts
  • StrExtra: Additional features for the standard library Str
  • Sugar: Basic shortcuts and syntactic sugar
  • SysExtra: Additional features for the standard module Sys
  • UnixExtra: Additional features for the standard library Unix
  • Widget: Some generic tools for building GUIs
  • Wrapper: Handling shell scripts in OCaml

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

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

Install libocamlbricks-ocaml-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libocamlbricks-ocaml-dev

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

sudo aptitude -y install libocamlbricks-ocaml-dev

How To Uninstall libocamlbricks-ocaml-dev on Debian 10

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

sudo apt-get remove libocamlbricks-ocaml-dev

Uninstall libocamlbricks-ocaml-dev And Its Dependencies

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

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

Remove libocamlbricks-ocaml-dev Configurations and Data

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

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

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

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

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

Dependencies

libocamlbricks-ocaml-dev have the following dependencies:

References

Summary

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