How To Install libfrei0r-ocaml-dev on Debian 9

In this tutorial we learn how to install libfrei0r-ocaml-dev on Debian 9. libfrei0r-ocaml-dev is OCaml interface to the frei0r API – developpement files

Introduction

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

What is libfrei0r-ocaml-dev

libfrei0r-ocaml-dev is:

This package provides an interface to the frei0r API for OCaml programmers.

frei0r is a minimalistic plugin API for video sources and filters. The behavior of the effects can be controlled from the host by simple parameters. The intent is to solve the recurring reimplementation or adaptation issue of standard effects. It is not meant as a generic API for all kinds of video applications.

This package contains all the development stuff you need to develop OCaml programs which use ocaml-frei0r.

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

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

Install libfrei0r-ocaml-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfrei0r-ocaml-dev

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

sudo aptitude -y install libfrei0r-ocaml-dev

How To Uninstall libfrei0r-ocaml-dev on Debian 9

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

sudo apt-get remove libfrei0r-ocaml-dev

Uninstall libfrei0r-ocaml-dev And Its Dependencies

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

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

Remove libfrei0r-ocaml-dev Configurations and Data

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

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

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

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

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

Dependencies

libfrei0r-ocaml-dev have the following dependencies:

References

Summary

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