How To Install unuran-devel on CentOS 8

unuran-devel is Header and object files for unuran

Introduction

In this tutorial we learn how to install unuran-devel on CentOS 8.

What is unuran-devel

Header and object files for unuran, and pdf docs.

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

Install unuran-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install unuran-devel

Install unuran-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install unuran-devel

How To Uninstall unuran-devel on CentOS 8

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

sudo dnf remove unuran-devel

unuran-devel Package Contents on CentOS 8

/usr/include/unuran.h
/usr/include/unuran_urng_gsl.h
/usr/include/unuran_urng_prng.h
/usr/include/unuran_urng_rngstreams.h
/usr/lib64/libunuran.so
/usr/share/doc/unuran-devel
/usr/share/doc/unuran-devel/examples
/usr/share/doc/unuran-devel/examples/example0.c
/usr/share/doc/unuran-devel/examples/example0_str.c
/usr/share/doc/unuran-devel/examples/example1.c
/usr/share/doc/unuran-devel/examples/example1_str.c
/usr/share/doc/unuran-devel/examples/example2.c
/usr/share/doc/unuran-devel/examples/example2_str.c
/usr/share/doc/unuran-devel/examples/example3.c
/usr/share/doc/unuran-devel/examples/example3_str.c
/usr/share/doc/unuran-devel/examples/example_FuncStr.c
/usr/share/doc/unuran-devel/examples/example_anti.c
/usr/share/doc/unuran-devel/examples/example_anti_str.c
/usr/share/doc/unuran-devel/examples/example_cext.c
/usr/share/doc/unuran-devel/examples/example_cont.c
/usr/share/doc/unuran-devel/examples/example_cont_str.c
/usr/share/doc/unuran-devel/examples/example_cpp.cpp
/usr/share/doc/unuran-devel/examples/example_dext.c
/usr/share/doc/unuran-devel/examples/example_discr.c
/usr/share/doc/unuran-devel/examples/example_discr_str.c
/usr/share/doc/unuran-devel/examples/example_emp.c
/usr/share/doc/unuran-devel/examples/example_emp_str.c
/usr/share/doc/unuran-devel/examples/example_errorhandler.c
/usr/share/doc/unuran-devel/examples/example_gsl.c
/usr/share/doc/unuran-devel/examples/example_mcorr.c
/usr/share/doc/unuran-devel/examples/example_mixt.c
/usr/share/doc/unuran-devel/examples/example_mixt_inv.c
/usr/share/doc/unuran-devel/examples/example_prng.c
/usr/share/doc/unuran-devel/examples/example_prng_str.c
/usr/share/doc/unuran-devel/examples/example_rngstreams.c
/usr/share/doc/unuran-devel/examples/example_vemp.c
/usr/share/doc/unuran-devel/unuran.pdf

References

Summary

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