How To Install R-littler on AlmaLinux 8

In this tutorial we learn how to install R-littler in AlmaLinux 8. R-littler is littler

Introduction

In this tutorial we learn how to install R-littler on AlmaLinux 8.

What is R-littler

A scripting and command-line front-end is provided by ‘r’ (aka ’littler’) as a lightweight binary wrapper around the GNU R language and environment for statistical computing and graphics. While R can be used in batch mode, the r binary adds full support for both ‘shebang’-style scripting (i.e. using a hash-mark-exclamation-path expression as the first line in scripts) as well as command-line use in standard Unix pipelines. In other words, r provides the R language without the environment.

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

Install R-littler on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install R-littler

Install R-littler on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install R-littler

How To Uninstall R-littler on AlmaLinux 8

To uninstall only the R-littler package we can use the following command:

sudo dnf remove R-littler

References

Summary

In this tutorial we learn how to install R-littler on AlmaLinux 8 using yum and dnf.