How To Install R-downlit on Fedora 36

In this tutorial we learn how to install R-downlit in Fedora 36. R-downlit is Syntax Highlighting and Automatic Linking

Introduction

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

What is R-downlit

Syntax highlighting of R code, specifically designed for the needs of RMarkdown packages like pkgdown, hugodown, and bookdown. It includes linking of function calls to their documentation on the web, and automatic translation of ANSI escapes in output to the equivalent HTML.

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

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

sudo dnf -y install R-downlit

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

sudo yum -y install R-downlit

How To Uninstall R-downlit on Fedora 36

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

sudo dnf remove R-downlit

R-downlit Package Contents on Fedora 36

/usr/share/R/library/downlit
/usr/share/R/library/downlit/DESCRIPTION
/usr/share/R/library/downlit/INDEX
/usr/share/R/library/downlit/LICENSE
/usr/share/R/library/downlit/Meta
/usr/share/R/library/downlit/Meta/Rd.rds
/usr/share/R/library/downlit/Meta/features.rds
/usr/share/R/library/downlit/Meta/hsearch.rds
/usr/share/R/library/downlit/Meta/links.rds
/usr/share/R/library/downlit/Meta/nsInfo.rds
/usr/share/R/library/downlit/Meta/package.rds
/usr/share/R/library/downlit/NAMESPACE
/usr/share/R/library/downlit/NEWS.md
/usr/share/R/library/downlit/R
/usr/share/R/library/downlit/R/downlit
/usr/share/R/library/downlit/R/downlit.rdb
/usr/share/R/library/downlit/R/downlit.rdx
/usr/share/R/library/downlit/WORDLIST
/usr/share/R/library/downlit/help
/usr/share/R/library/downlit/help/AnIndex
/usr/share/R/library/downlit/help/aliases.rds
/usr/share/R/library/downlit/help/autolink.html
/usr/share/R/library/downlit/help/autolink_url.html
/usr/share/R/library/downlit/help/classes_chroma.html
/usr/share/R/library/downlit/help/classes_pandoc.html
/usr/share/R/library/downlit/help/downlit-package.html
/usr/share/R/library/downlit/help/downlit.html
/usr/share/R/library/downlit/help/downlit.rdb
/usr/share/R/library/downlit/help/downlit.rdx
/usr/share/R/library/downlit/help/downlit_html_node.html
/usr/share/R/library/downlit/help/downlit_html_path.html
/usr/share/R/library/downlit/help/downlit_md_path.html
/usr/share/R/library/downlit/help/downlit_md_string.html
/usr/share/R/library/downlit/help/evaluate_and_highlight.html
/usr/share/R/library/downlit/help/highlight.html
/usr/share/R/library/downlit/help/href_article.html
/usr/share/R/library/downlit/help/href_topic.html
/usr/share/R/library/downlit/help/paths.rds
/usr/share/R/library/downlit/html
/usr/share/R/library/downlit/html/00Index.html
/usr/share/R/library/downlit/html/R.css
/usr/share/R/library/downlit/html/autolink.html
/usr/share/R/library/downlit/html/downlit-package.html
/usr/share/R/library/downlit/html/downlit_html_path.html
/usr/share/R/library/downlit/html/downlit_md_path.html
/usr/share/R/library/downlit/html/evaluate_and_highlight.html
/usr/share/R/library/downlit/html/highlight.html
/usr/share/R/library/downlit/html/href_topic.html

References

Summary

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