How To Install R-littler on CentOS 8

R-littler is littler

Introduction

In this tutorial we learn how to install R-littler on CentOS 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 CentOS 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 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 R-littler using dnf by running the following command:

sudo dnf -y install R-littler

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

sudo yum -y install R-littler

How To Uninstall R-littler on CentOS 8

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

sudo dnf remove R-littler

R-littler Package Contents on CentOS 8

/usr/bin/r
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/81f1ffcc17f787fcceaff73d36492831a144a3
/usr/lib64/R/library/littler
/usr/lib64/R/library/littler/DESCRIPTION
/usr/lib64/R/library/littler/INDEX
/usr/lib64/R/library/littler/Meta
/usr/lib64/R/library/littler/Meta/Rd.rds
/usr/lib64/R/library/littler/Meta/features.rds
/usr/lib64/R/library/littler/Meta/hsearch.rds
/usr/lib64/R/library/littler/Meta/links.rds
/usr/lib64/R/library/littler/Meta/nsInfo.rds
/usr/lib64/R/library/littler/Meta/package.rds
/usr/lib64/R/library/littler/Meta/vignette.rds
/usr/lib64/R/library/littler/NAMESPACE
/usr/lib64/R/library/littler/NEWS.Rd
/usr/lib64/R/library/littler/R
/usr/lib64/R/library/littler/R/littler
/usr/lib64/R/library/littler/R/littler.rdb
/usr/lib64/R/library/littler/R/littler.rdx
/usr/lib64/R/library/littler/doc
/usr/lib64/R/library/littler/doc/index.html
/usr/lib64/R/library/littler/doc/littler-examples.R
/usr/lib64/R/library/littler/doc/littler-examples.Rmd
/usr/lib64/R/library/littler/doc/littler-examples.html
/usr/lib64/R/library/littler/doc/littler-faq.R
/usr/lib64/R/library/littler/doc/littler-faq.Rmd
/usr/lib64/R/library/littler/doc/littler-faq.html
/usr/lib64/R/library/littler/help
/usr/lib64/R/library/littler/help/AnIndex
/usr/lib64/R/library/littler/help/aliases.rds
/usr/lib64/R/library/littler/help/littler.rdb
/usr/lib64/R/library/littler/help/littler.rdx
/usr/lib64/R/library/littler/help/paths.rds
/usr/lib64/R/library/littler/html
/usr/lib64/R/library/littler/html/00Index.html
/usr/lib64/R/library/littler/html/R.css
/usr/lib64/R/library/littler/html/littler.html
/usr/lib64/R/library/littler/html/r.html
/usr/share/man/man1/r.1.gz

References

Summary

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