How To Install libfacile-ocaml-dev on Ubuntu 18.04

In this tutorial we learn how to install libfacile-ocaml-dev on Ubuntu 18.04. libfacile-ocaml-dev is functional constraint library implemented in Objective Caml

Introduction

In this tutorial we learn how to install libfacile-ocaml-dev on Ubuntu 18.04.

What is libfacile-ocaml-dev

libfacile-ocaml-dev is:

FaCiLe is a constraint programming library over integer finite domain written in Objective Caml. It offers all usual facilities to create and manipulate finite domain variables, arithmetic expressions and constraints (possibly non-linear), built-in global constraints and search goals. FaCiLe allows as well to build easily user-defined constraints and goals (including recursive ones), making pervasive use of OCaml higher-order functionals to provide a simple and flexible interface for the user. As FaCiLe is an OCaml library and not “yet another language”, the user benefits from type inference and strong typing discipline, high level of abstraction, modules and objects system, as well as native code compilation efficiency, garbage collection and replay debugger, all features of OCaml (among many others) that allow to prototype and experiment quickly: modeling, data processing and interface are implemented with the same powerful and efficient language.

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

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

Install libfacile-ocaml-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfacile-ocaml-dev

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

sudo aptitude update

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

sudo aptitude -y install libfacile-ocaml-dev

How To Uninstall libfacile-ocaml-dev on Ubuntu 18.04

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

sudo apt-get remove libfacile-ocaml-dev

Uninstall libfacile-ocaml-dev And Its Dependencies

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

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

Remove libfacile-ocaml-dev Configurations and Data

To remove libfacile-ocaml-dev configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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