How To Install libhivex-ocaml-dev on Debian 9
Introduction
In this tutorial we learn how to install libhivex-ocaml-dev
on Debian 9.
What is libhivex-ocaml-dev
libhivex-ocaml-dev is:
OCaml bindings for libhivex, a library for reading and writing Windows Registry “hive” binary files.
This package contains all the files needed to develop OCaml programs wich use OCaml bindings to libhivex.
There are three methods to install libhivex-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 libhivex-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 libhivex-ocaml-dev
using apt-get
by running the following command:
sudo apt-get -y install libhivex-ocaml-dev
Install libhivex-ocaml-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libhivex-ocaml-dev
using apt
by running the following command:
sudo apt -y install libhivex-ocaml-dev
Install libhivex-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 libhivex-ocaml-dev
using aptitude
by running the following command:
sudo aptitude -y install libhivex-ocaml-dev
How To Uninstall libhivex-ocaml-dev on Debian 9
To uninstall only the libhivex-ocaml-dev
package we can use the following command:
sudo apt-get remove libhivex-ocaml-dev
Uninstall libhivex-ocaml-dev And Its Dependencies
To uninstall libhivex-ocaml-dev
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libhivex-ocaml-dev
Remove libhivex-ocaml-dev Configurations and Data
To remove libhivex-ocaml-dev
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libhivex-ocaml-dev
Remove libhivex-ocaml-dev configuration, data, and all of its dependencies
We can use the following command to remove libhivex-ocaml-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libhivex-ocaml-dev
Dependencies
libhivex-ocaml-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libhivex-ocaml-dev
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.