How To Install libfileutils-ocaml-dev on Ubuntu 18.04

In this tutorial we learn how to install libfileutils-ocaml-dev on Ubuntu 18.04. libfileutils-ocaml-dev is File manipulation for OCaml

Introduction

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

What is libfileutils-ocaml-dev

libfileutils-ocaml-dev is:

This library provides some functions which operate on the file system for the Objective Caml (OCaml) programming language. The aim is to enhance the basic functionality provided by the OCaml standard Filename module.

It provides functions, written in pure OCaml, for manipulating files (mv, cp, mkdir et al) and abstract filename (make_relative, make_absolute et al).

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

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

Install libfileutils-ocaml-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfileutils-ocaml-dev

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

sudo aptitude -y install libfileutils-ocaml-dev

How To Uninstall libfileutils-ocaml-dev on Ubuntu 18.04

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

sudo apt-get remove libfileutils-ocaml-dev

Uninstall libfileutils-ocaml-dev And Its Dependencies

To uninstall libfileutils-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 libfileutils-ocaml-dev

Remove libfileutils-ocaml-dev Configurations and Data

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

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

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

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

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

References

Summary

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