How to Install and Uninstall ruby-enumerable-statistics Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 22,2024

1. Install "ruby-enumerable-statistics" package

This guide let you learn how to install ruby-enumerable-statistics on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-enumerable-statistics

2. Uninstall "ruby-enumerable-statistics" package

Please follow the guidelines below to uninstall ruby-enumerable-statistics on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-enumerable-statistics $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-enumerable-statistics package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-enumerable-statistics
Architecture: amd64
Version: 2.0.1+dfsg-3
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 681
Depends: libjs-jquery, libc6 (>= 2.29), libruby2.7 (>= 2.7.0), ruby (>= 1:2.7~0), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-enumerable-statistics/ruby-enumerable-statistics_2.0.1+dfsg-3_amd64.deb
Size: 177820
MD5sum: 7cd0999691bff39b5ae9012c6a0ad1d3
SHA1: b3a8274fba8efb6f56dbfcd765cce4249899da1c
SHA256: 60aa82eb4997828efcb42c3bd30f471bf309dda82dd344765885a14647ea1979
SHA512: 248753cf817bd4480c0c3b4519fc8d38cbef4cbecfe2aec44dbb0eb00ac4772c143f6222b47d34a92fb51302d9d844aea343c4066ed9603b0cc1697b84e97439
Homepage: https://github.com/mrkn/enumerable-statistics
Description-en: Statistics features for Enumerable
Enumerable::Statistics provides some methods to calculate statistical summary
in arrays and enumerables.
.
The following methods are supplied by this library:
- `Array#mean`, `Enumerable#mean` - Calculates a mean of values in an array
or an enumerable
- `Array#variance`, `Enumerable#variance` - Calculates a variance of values
in an array or an enumerable
- `Array#stdev`, `Enumerable#stdev` - Calculates a standard deviation of
values in an array or an enumerable
- `Array#mean_variance`, `Enumerable#mean_variance` - Calculates a mean and a
variance simultaneously
- `Array#mean_stdev`, `Enumerable#mean_stdev` - Calculates a mean and a
standard deviation simultaneously
- `Array#median` - Calculates a median of values in an array
- `Array#percentile(q)` - Calculates a percentile or percentiles of values
in an array
- `Array#value_counts`, `Enumerable#value_counts`, and `Hash#value_counts` -
Count how many items for each value in the container
- `Array#histogram` - Calculate histogram of the values in the array
Description-md5: 4b17dc30cbf4e9daa46e6797ca374566
Ruby-Versions: ruby2.7