How To Install R-prettycode on Fedora 36

In this tutorial we learn how to install R-prettycode in Fedora 36. R-prettycode is Pretty Print R Code in the Terminal

Introduction

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

What is R-prettycode

Replace the standard print method for functions with one that performs syntax highlighting, using ANSI colors, if the terminal supports them.

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

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

sudo dnf -y install R-prettycode

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

sudo yum -y install R-prettycode

How To Uninstall R-prettycode on Fedora 36

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

sudo dnf remove R-prettycode

R-prettycode Package Contents on Fedora 36

/usr/share/R/library/prettycode
/usr/share/R/library/prettycode/DESCRIPTION
/usr/share/R/library/prettycode/INDEX
/usr/share/R/library/prettycode/LICENSE
/usr/share/R/library/prettycode/Meta
/usr/share/R/library/prettycode/Meta/Rd.rds
/usr/share/R/library/prettycode/Meta/features.rds
/usr/share/R/library/prettycode/Meta/hsearch.rds
/usr/share/R/library/prettycode/Meta/links.rds
/usr/share/R/library/prettycode/Meta/nsInfo.rds
/usr/share/R/library/prettycode/Meta/package.rds
/usr/share/R/library/prettycode/NAMESPACE
/usr/share/R/library/prettycode/NEWS.md
/usr/share/R/library/prettycode/R
/usr/share/R/library/prettycode/R/prettycode
/usr/share/R/library/prettycode/R/prettycode.rdb
/usr/share/R/library/prettycode/R/prettycode.rdx
/usr/share/R/library/prettycode/R/sysdata.rdb
/usr/share/R/library/prettycode/R/sysdata.rdx
/usr/share/R/library/prettycode/README.markdown
/usr/share/R/library/prettycode/help
/usr/share/R/library/prettycode/help/AnIndex
/usr/share/R/library/prettycode/help/aliases.rds
/usr/share/R/library/prettycode/help/color_brackets.html
/usr/share/R/library/prettycode/help/default_style.html
/usr/share/R/library/prettycode/help/highlight.html
/usr/share/R/library/prettycode/help/paths.rds
/usr/share/R/library/prettycode/help/prettycode.html
/usr/share/R/library/prettycode/help/prettycode.rdb
/usr/share/R/library/prettycode/help/prettycode.rdx
/usr/share/R/library/prettycode/help/print.function.html
/usr/share/R/library/prettycode/html
/usr/share/R/library/prettycode/html/00Index.html
/usr/share/R/library/prettycode/html/R.css
/usr/share/R/library/prettycode/html/color_brackets.html
/usr/share/R/library/prettycode/html/default_style.html
/usr/share/R/library/prettycode/html/highlight.html
/usr/share/R/library/prettycode/html/prettycode.html
/usr/share/R/library/prettycode/html/print.function.html
/usr/share/R/library/prettycode/screenshot.png

References

Summary

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