How To Install dSFMT on Fedora 34

dSFMT is Double precision SIMD-oriented Fast Mersenne Twister Double precision SIMD-oriented Fast Mersenne Twister

Introduction

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

What is dSFMT

The purpose of dSFMT is to speed up the generation by avoiding the expensive conversion of integer to double (floating point). dSFMT directly generates double precision floating point pseudo-random numbers which have the IEEE Standard for Binary Floating-Point Arithmetic (ANSI/IEEE Std 754-1985) format. dSFMT is only available on the CPUs which use IEEE 754 format double precision floating point numbers. dSFMT doesn’t support integer outputs. dSFMT supports the output of double precision floating point pseudo-random numbers which distribute in the range of [1, 2), [0, 1), (0, 1] and (0, 1). And it also supports the various periods form 2607-1 to 2132049-1. dSFMT 2.2.3 16.fc34 x86_64 20 k dSFMT-2.2.3-16.fc34.src.rpm fedora Double precision SIMD-oriented Fast Mersenne Twister http BSD The purpose of dSFMT is to speed up the generation by avoiding the expensive conversion of integer to double (floating point). dSFMT directly generates double precision floating point pseudo-random numbers which have the IEEE Standard for Binary Floating-Point Arithmetic (ANSI/IEEE Std 754-1985) format. dSFMT is only available on the CPUs which use IEEE 754 format double precision floating point numbers. dSFMT doesn’t support integer outputs. dSFMT supports the output of double precision floating point pseudo-random numbers which distribute in the range of [1, 2), [0, 1), (0, 1] and (0, 1). And it also supports the various periods form 2607-1 to 2132049-1.

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

Install dSFMT 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 dSFMT using dnf by running the following command:

sudo dnf -y install dSFMT

Install dSFMT 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 dSFMT using yum by running the following command:

sudo yum -y install dSFMT

How To Uninstall dSFMT on Fedora 34

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

sudo dnf remove dSFMT

dSFMT Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/0d5cec90af8f2e0ac876bb208f7e86c340c778
/usr/lib64/libdSFMT.so.2
/usr/lib64/libdSFMT.so.2.2
/usr/lib64/libdSFMT.so.2.2.3
/usr/share/doc/dSFMT
/usr/share/doc/dSFMT/CHANGE-LOG.txt
/usr/share/doc/dSFMT/LICENSE.txt
/usr/share/doc/dSFMT/README.jp.txt
/usr/share/doc/dSFMT/README.txt
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/9af3f00bada64a0c31d0f48e7d497ad0bf20c8
/usr/lib/libdSFMT.so.2
/usr/lib/libdSFMT.so.2.2
/usr/lib/libdSFMT.so.2.2.3
/usr/share/doc/dSFMT
/usr/share/doc/dSFMT/CHANGE-LOG.txt
/usr/share/doc/dSFMT/LICENSE.txt
/usr/share/doc/dSFMT/README.jp.txt
/usr/share/doc/dSFMT/README.txt

References

Summary

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