How To Install libbenchmark-ocaml-dev on Debian 10
Introduction
In this tutorial we learn how to install libbenchmark-ocaml-dev
on Debian 10.
What is libbenchmark-ocaml-dev
libbenchmark-ocaml-dev is:
This library implements benchmarking functions for measuring the run-time of one or many functions using latency (multiple repetitions) or throughput (repeat until some time period has passed) tests.
It is inspired by the Perl module of the same name ( benchmark ).
There are three methods to install libbenchmark-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 libbenchmark-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 libbenchmark-ocaml-dev
using apt-get
by running the following command:
sudo apt-get -y install libbenchmark-ocaml-dev
Install libbenchmark-ocaml-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libbenchmark-ocaml-dev
using apt
by running the following command:
sudo apt -y install libbenchmark-ocaml-dev
Install libbenchmark-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 libbenchmark-ocaml-dev
using aptitude
by running the following command:
sudo aptitude -y install libbenchmark-ocaml-dev
How To Uninstall libbenchmark-ocaml-dev on Debian 10
To uninstall only the libbenchmark-ocaml-dev
package we can use the following command:
sudo apt-get remove libbenchmark-ocaml-dev
Uninstall libbenchmark-ocaml-dev And Its Dependencies
To uninstall libbenchmark-ocaml-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libbenchmark-ocaml-dev
Remove libbenchmark-ocaml-dev Configurations and Data
To remove libbenchmark-ocaml-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libbenchmark-ocaml-dev
Remove libbenchmark-ocaml-dev configuration, data, and all of its dependencies
We can use the following command to remove libbenchmark-ocaml-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libbenchmark-ocaml-dev
Dependencies
libbenchmark-ocaml-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libbenchmark-ocaml-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.