How To Install R-cachem on Fedora 36

In this tutorial we learn how to install R-cachem in Fedora 36. R-cachem is Cache R Objects with Automatic Pruning

Introduction

In this tutorial we learn how to install R-cachem on Fedora 36.

What is R-cachem

Key-value stores with automatic pruning. Caches can limit either their total size or the age of the oldest object (or both), automatically pruning objects to maintain the constraints.

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

Install R-cachem on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install R-cachem

Install R-cachem on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install R-cachem

How To Uninstall R-cachem on Fedora 36

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

sudo dnf remove R-cachem

R-cachem Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/c9a6bb806da9035c0cb58afba971cb407337a8
/usr/lib64/R/library/cachem
/usr/lib64/R/library/cachem/DESCRIPTION
/usr/lib64/R/library/cachem/INDEX
/usr/lib64/R/library/cachem/LICENSE
/usr/lib64/R/library/cachem/Meta
/usr/lib64/R/library/cachem/Meta/Rd.rds
/usr/lib64/R/library/cachem/Meta/features.rds
/usr/lib64/R/library/cachem/Meta/hsearch.rds
/usr/lib64/R/library/cachem/Meta/links.rds
/usr/lib64/R/library/cachem/Meta/nsInfo.rds
/usr/lib64/R/library/cachem/Meta/package.rds
/usr/lib64/R/library/cachem/NAMESPACE
/usr/lib64/R/library/cachem/NEWS.md
/usr/lib64/R/library/cachem/R
/usr/lib64/R/library/cachem/R/cachem
/usr/lib64/R/library/cachem/R/cachem.rdb
/usr/lib64/R/library/cachem/R/cachem.rdx
/usr/lib64/R/library/cachem/help
/usr/lib64/R/library/cachem/help/AnIndex
/usr/lib64/R/library/cachem/help/aliases.rds
/usr/lib64/R/library/cachem/help/cache_disk.html
/usr/lib64/R/library/cachem/help/cache_layered.html
/usr/lib64/R/library/cachem/help/cache_mem.html
/usr/lib64/R/library/cachem/help/cachem.rdb
/usr/lib64/R/library/cachem/help/cachem.rdx
/usr/lib64/R/library/cachem/help/is.key_missing.html
/usr/lib64/R/library/cachem/help/key_missing.html
/usr/lib64/R/library/cachem/help/paths.rds
/usr/lib64/R/library/cachem/help/reexports.html
/usr/lib64/R/library/cachem/html
/usr/lib64/R/library/cachem/html/00Index.html
/usr/lib64/R/library/cachem/html/R.css
/usr/lib64/R/library/cachem/html/cache_disk.html
/usr/lib64/R/library/cachem/html/cache_layered.html
/usr/lib64/R/library/cachem/html/cache_mem.html
/usr/lib64/R/library/cachem/html/reexports.html
/usr/lib64/R/library/cachem/libs
/usr/lib64/R/library/cachem/libs/cachem.so

References

Summary

In this tutorial we learn how to install R-cachem on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).