How to Install and Uninstall ghc-mwc-random Package on openSUSE Leap

Last updated: June 30,2024

1. Install "ghc-mwc-random" package

Please follow the guidance below to install ghc-mwc-random on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-mwc-random

2. Uninstall "ghc-mwc-random" package

This guide let you learn how to uninstall ghc-mwc-random on openSUSE Leap:

$ sudo zypper remove ghc-mwc-random

3. Information about the ghc-mwc-random package on openSUSE Leap

Information for package ghc-mwc-random:
---------------------------------------
Repository : Main Repository
Name : ghc-mwc-random
Version : 0.15.0.2-bp155.3.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 737.1 KiB
Installed : No
Status : not installed
Source package : ghc-mwc-random-0.15.0.2-bp155.3.14.src
Upstream URL : https://hackage.haskell.org/package/mwc-random
Summary : Fast, high quality pseudo random number generation
Description :
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.

5. The same packages on other Linux Distributions