How To Install R-brew on Fedora 36

In this tutorial we learn how to install R-brew in Fedora 36. R-brew is Templating Framework for Report Generation

Introduction

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

What is R-brew

brew implements a templating framework for mixing text and R code for report generation. brew template syntax is similar to PHP, Ruby’s erb module, Java Server Pages, and Python’s psp module.

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

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

sudo dnf -y install R-brew

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

sudo yum -y install R-brew

How To Uninstall R-brew on Fedora 36

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

sudo dnf remove R-brew

R-brew Package Contents on Fedora 36

/usr/share/R/library/brew
/usr/share/R/library/brew/DESCRIPTION
/usr/share/R/library/brew/INDEX
/usr/share/R/library/brew/Meta
/usr/share/R/library/brew/Meta/Rd.rds
/usr/share/R/library/brew/Meta/features.rds
/usr/share/R/library/brew/Meta/hsearch.rds
/usr/share/R/library/brew/Meta/links.rds
/usr/share/R/library/brew/Meta/nsInfo.rds
/usr/share/R/library/brew/Meta/package.rds
/usr/share/R/library/brew/NAMESPACE
/usr/share/R/library/brew/R
/usr/share/R/library/brew/R/brew
/usr/share/R/library/brew/R/brew.rdb
/usr/share/R/library/brew/R/brew.rdx
/usr/share/R/library/brew/Sweave-test-1-006.eps
/usr/share/R/library/brew/Sweave-test-1-006.pdf
/usr/share/R/library/brew/Sweave-test-1-007.eps
/usr/share/R/library/brew/Sweave-test-1-007.pdf
/usr/share/R/library/brew/Sweave-test-1.aux
/usr/share/R/library/brew/Sweave-test-1.dvi
/usr/share/R/library/brew/Sweave-test-1.log
/usr/share/R/library/brew/Sweave-test-1.orig.dvi
/usr/share/R/library/brew/Sweave-test-1.tex
/usr/share/R/library/brew/brew-test-1-1.eps
/usr/share/R/library/brew/brew-test-1-1.pdf
/usr/share/R/library/brew/brew-test-1-2.eps
/usr/share/R/library/brew/brew-test-1.aux
/usr/share/R/library/brew/brew-test-1.brew
/usr/share/R/library/brew/brew-test-1.dvi
/usr/share/R/library/brew/brew-test-1.log
/usr/share/R/library/brew/brew-test-1.tex
/usr/share/R/library/brew/brew-test-2-table.brew
/usr/share/R/library/brew/brew-test-2.aux
/usr/share/R/library/brew/brew-test-2.brew
/usr/share/R/library/brew/brew-test-2.dvi
/usr/share/R/library/brew/brew-test-2.html
/usr/share/R/library/brew/brew-test-2.log
/usr/share/R/library/brew/brew-test-2.tex
/usr/share/R/library/brew/brew-test-3.brew
/usr/share/R/library/brew/broken.brew
/usr/share/R/library/brew/catprint.brew
/usr/share/R/library/brew/example1.brew
/usr/share/R/library/brew/example2.brew
/usr/share/R/library/brew/featurefull.brew
/usr/share/R/library/brew/help
/usr/share/R/library/brew/help/AnIndex
/usr/share/R/library/brew/help/aliases.rds
/usr/share/R/library/brew/help/brew.html
/usr/share/R/library/brew/help/brew.rdb
/usr/share/R/library/brew/help/brew.rdx
/usr/share/R/library/brew/help/brewCache.html
/usr/share/R/library/brew/help/brewCacheOff.html
/usr/share/R/library/brew/help/brewCacheOn.html
/usr/share/R/library/brew/help/paths.rds
/usr/share/R/library/brew/help/setBufLen.html
/usr/share/R/library/brew/html
/usr/share/R/library/brew/html/00Index.html
/usr/share/R/library/brew/html/R.css
/usr/share/R/library/brew/html/brew.html
/usr/share/R/library/brew/html/brewCache.html

References

Summary

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