How To Install libghc-mwc-random-prof on Debian 9
Introduction
In this tutorial we learn how to install libghc-mwc-random-prof
on Debian 9.
What is libghc-mwc-random-prof
libghc-mwc-random-prof is:
This package contains code for generating high quality random numbers that follow either a uniform or normal distribution. The generated numbers are suitable for use in statistical applications.
The uniform PRNG uses Marsaglia’s MWC256 (also known as MWC8222) multiply-with-carry generator, which has a period of 2^8222 and fares well in tests of randomness. It is also extremely fast, between 2 and 3 times faster than the Mersenne Twister.
Compared to the mersenne-random package, this package has a more convenient API, is faster, and supports more statistical distributions.
This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-mwc-random-prof
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 libghc-mwc-random-prof Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libghc-mwc-random-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-mwc-random-prof
Install libghc-mwc-random-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-mwc-random-prof
using apt
by running the following command:
sudo apt -y install libghc-mwc-random-prof
Install libghc-mwc-random-prof 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 libghc-mwc-random-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-mwc-random-prof
How To Uninstall libghc-mwc-random-prof on Debian 9
To uninstall only the libghc-mwc-random-prof
package we can use the following command:
sudo apt-get remove libghc-mwc-random-prof
Uninstall libghc-mwc-random-prof And Its Dependencies
To uninstall libghc-mwc-random-prof
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libghc-mwc-random-prof
Remove libghc-mwc-random-prof Configurations and Data
To remove libghc-mwc-random-prof
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libghc-mwc-random-prof
Remove libghc-mwc-random-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-mwc-random-prof
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-mwc-random-prof
Dependencies
libghc-mwc-random-prof have the following dependencies:
- libghc-mwc-random-dev
- libghc-base-prof-4.9.0.0-5e731
- libghc-primitive-prof-0.6.1.0-c5b77
- libghc-time-prof-1.6.0.1-6cdb6
- libghc-vector-prof-0.11.0.0-b15f0
References
Summary
In this tutorial we learn how to install libghc-mwc-random-prof
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.