How To Install root-unuran on Rocky Linux 8

In this tutorial we learn how to install root-unuran on Rocky Linux 8. root-unuran is Random number generator library

Introduction

In this tutorial we learn how to install root-unuran on Rocky Linux 8.

What is root-unuran

Contains universal (also called automatic or black-box) algorithms that can generate random numbers from large classes of continuous or discrete distributions, and also from practically all standard distributions. To generate random numbers the user must supply some information about the desired distribution, especially a C-function that computes the density and - depending on the chosen methods - some additional information (like the borders of the domain, the mode, the derivative of the density …). After a user has given this information an init-program computes all tables and constants necessary for the random variate generation. The sample program can then generate variates from the desired distribution.

We can use yum or dnf to install root-unuran on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install root-unuran.

Install root-unuran on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install root-unuran

Install root-unuran on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install root-unuran using yum by running the following command:

sudo yum -y install root-unuran

How To Uninstall root-unuran on Rocky Linux 8

To uninstall only the root-unuran package we can use the following command:

sudo dnf remove root-unuran

root-unuran Package Contents on Rocky Linux 8

/usr/include/root/TUnuran.h
/usr/include/root/TUnuranBaseDist.h
/usr/include/root/TUnuranContDist.h
/usr/include/root/TUnuranDiscrDist.h
/usr/include/root/TUnuranEmpDist.h
/usr/include/root/TUnuranMultiContDist.h
/usr/include/root/TUnuranSampler.h
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/84812769e83522de780d3510f3c3a72fe54ef9
/usr/lib64/root/libUnuran.rootmap
/usr/lib64/root/libUnuran.so
/usr/lib64/root/libUnuran.so.6.22
/usr/lib64/root/libUnuran.so.6.22.08
/usr/lib64/root/libUnuran_rdict.pcm
/usr/share/root/plugins/ROOT@@Math@@DistSampler/P010_TUnuranSampler.C

References

Summary

In this tutorial we learn how to install root-unuran on Rocky Linux 8 using yum and dnf.