How To Install libRmath on Rocky Linux 8

In this tutorial we learn how to install libRmath on Rocky Linux 8. libRmath is Standalone math library from the R project

Introduction

In this tutorial we learn how to install libRmath on Rocky Linux 8.

What is libRmath

A standalone library of mathematical and statistical functions derived from the R project. This package provides the shared libRmath library.

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

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

sudo dnf -y install libRmath

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

sudo yum -y install libRmath

How To Uninstall libRmath on Rocky Linux 8

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

sudo dnf remove libRmath

libRmath Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/e06bd90349a5ea11fa51a5e815d6cd5b87434e
/usr/lib64/libRmath.so
/usr/share/doc/libRmath
/usr/share/doc/libRmath/COPYING

References

Summary

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