How To Install unuran on CentOS 7

In this tutorial we learn how to install unuran on CentOS 7. unuran is Universal Non-Uniform Random number generator

Introduction

In this tutorial we learn how to install unuran on CentOS 7.

What is unuran

UNU.RAN is an ANSI C library licensed under GPL. It 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. The library and an extensive online documentation are available at ——————————————- http ——————————————-

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

Install unuran on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install unuran

Install unuran on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install unuran

How To Uninstall unuran on CentOS 7

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

sudo dnf remove unuran

References

Summary

In this tutorial we learn how to install unuran on CentOS 7 using yum and dnf.