How To Install mpdecimal on Fedora 34

mpdecimal is Library for general decimal arithmetic Library for general decimal arithmetic

Introduction

In this tutorial we learn how to install mpdecimal on Fedora 34.

What is mpdecimal

The package contains a library limpdec implementing General Decimal Arithmetic Specification. The specification, written by Mike Cowlishaw from IBM, defines a general purpose arbitrary precision data type together with rigorously specified functions and rounding behavior. mpdecimal 2.5.1 1.fc34 x86_64 101 k mpdecimal-2.5.1-1.fc34.src.rpm fedora Library for general decimal arithmetic http BSD The package contains a library limpdec implementing General Decimal Arithmetic Specification. The specification, written by Mike Cowlishaw from IBM, defines a general purpose arbitrary precision data type together with rigorously specified functions and rounding behavior.

We can use yum or dnf to install mpdecimal on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mpdecimal.

Install mpdecimal on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mpdecimal using dnf by running the following command:

sudo dnf -y install mpdecimal

Install mpdecimal on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mpdecimal using yum by running the following command:

sudo yum -y install mpdecimal

How To Uninstall mpdecimal on Fedora 34

To uninstall only the mpdecimal package we can use the following command:

sudo dnf remove mpdecimal

mpdecimal Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/90dde55439a4ca7837e576be355c01e2fa1f4a
/usr/lib/.build-id/81
/usr/lib/.build-id/81/1ccef9c2a8e861040c08d6be5fc64a1539ab9e
/usr/lib64/libmpdec++.so.2.5.1
/usr/lib64/libmpdec++.so.3
/usr/lib64/libmpdec.so.2.5.1
/usr/lib64/libmpdec.so.3
/usr/share/licenses/mpdecimal
/usr/share/licenses/mpdecimal/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/b9e703fd1c81c5af873b1cfe431c64bf9b7ec3
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/d0ed142e66008c6ad995971780b6062c4370d2
/usr/lib/libmpdec++.so.2.5.1
/usr/lib/libmpdec++.so.3
/usr/lib/libmpdec.so.2.5.1
/usr/lib/libmpdec.so.3
/usr/share/licenses/mpdecimal
/usr/share/licenses/mpdecimal/LICENSE.txt

References

Summary

In this tutorial we learn how to install mpdecimal on Fedora 34 using yum and dnf.