How to Install and Uninstall rubygem-bigdecimal.x86_64 Package on Amazon Linux 2

Last updated: November 26,2024

1. Install "rubygem-bigdecimal.x86_64" package

This is a short guide on how to install rubygem-bigdecimal.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install rubygem-bigdecimal.x86_64

2. Uninstall "rubygem-bigdecimal.x86_64" package

Please follow the guidelines below to uninstall rubygem-bigdecimal.x86_64 on Amazon Linux 2:

$ sudo yum remove rubygem-bigdecimal.x86_64 $ sudo yum autoremove

3. Information about the rubygem-bigdecimal.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : rubygem-bigdecimal
Arch : x86_64
Version : 1.2.0
Release : 36.amzn2.0.2
Size : 85 k
Repo : amzn2-core/2/x86_64
Summary : BigDecimal provides arbitrary-precision floating point decimal
: arithmetic
URL : http://ruby-lang.org/
License : GPL+ or Artistic
Description : Ruby provides built-in support for arbitrary precision integer
: arithmetic. For example:
:
: 42**13 -> 1265437718438866624512
:
: BigDecimal provides similar support for very large or very
: accurate floating point numbers. Decimal arithmetic is also useful
: for general calculation, because it provides the correct answers
: people expect?whereas normal binary floating point arithmetic
: often introduces subtle errors because of the conversion between
: base 10 and base 2.