How To Install R-servr on Fedora 36

In this tutorial we learn how to install R-servr in Fedora 36. R-servr is Simple HTTP Server to Serve Static Files or Dynamic Documents

Introduction

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

What is R-servr

Start an HTTP server in R to serve static files, or dynamic documents that can be converted to HTML files (e.g., R Markdown) under a given directory.

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

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

sudo dnf -y install R-servr

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

sudo yum -y install R-servr

How To Uninstall R-servr on Fedora 36

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

sudo dnf remove R-servr

R-servr Package Contents on Fedora 36

/usr/share/R/library/servr
/usr/share/R/library/servr/DESCRIPTION
/usr/share/R/library/servr/INDEX
/usr/share/R/library/servr/Meta
/usr/share/R/library/servr/Meta/Rd.rds
/usr/share/R/library/servr/Meta/features.rds
/usr/share/R/library/servr/Meta/hsearch.rds
/usr/share/R/library/servr/Meta/links.rds
/usr/share/R/library/servr/Meta/nsInfo.rds
/usr/share/R/library/servr/Meta/package.rds
/usr/share/R/library/servr/NAMESPACE
/usr/share/R/library/servr/NEWS.Rd
/usr/share/R/library/servr/R
/usr/share/R/library/servr/R/servr
/usr/share/R/library/servr/R/servr.rdb
/usr/share/R/library/servr/R/servr.rdx
/usr/share/R/library/servr/bin
/usr/share/R/library/servr/bin/servr
/usr/share/R/library/servr/examples
/usr/share/R/library/servr/examples/make1
/usr/share/R/library/servr/examples/make1/Makefile
/usr/share/R/library/servr/examples/make1/example.Rmd
/usr/share/R/library/servr/examples/make2
/usr/share/R/library/servr/examples/make2/Makefile
/usr/share/R/library/servr/examples/make2/example.Rmd
/usr/share/R/library/servr/examples/rmd
/usr/share/R/library/servr/examples/rmd/example.Rmd
/usr/share/R/library/servr/help
/usr/share/R/library/servr/help/AnIndex
/usr/share/R/library/servr/help/aliases.rds
/usr/share/R/library/servr/help/browse_last.html
/usr/share/R/library/servr/help/daemon_list.html
/usr/share/R/library/servr/help/daemon_stop.html
/usr/share/R/library/servr/help/dynamic_site.html
/usr/share/R/library/servr/help/httd.html
/usr/share/R/library/servr/help/httw.html
/usr/share/R/library/servr/help/jekyll.html
/usr/share/R/library/servr/help/make.html
/usr/share/R/library/servr/help/notebook.html
/usr/share/R/library/servr/help/paths.rds
/usr/share/R/library/servr/help/random_port.html
/usr/share/R/library/servr/help/rmdv1.html
/usr/share/R/library/servr/help/rmdv2.html
/usr/share/R/library/servr/help/serve_example.html
/usr/share/R/library/servr/help/server_config.html
/usr/share/R/library/servr/help/servr.rdb
/usr/share/R/library/servr/help/servr.rdx
/usr/share/R/library/servr/help/vign.html
/usr/share/R/library/servr/html
/usr/share/R/library/servr/html/00Index.html
/usr/share/R/library/servr/html/R.css
/usr/share/R/library/servr/html/browse_last.html
/usr/share/R/library/servr/html/daemon_stop.html
/usr/share/R/library/servr/html/dynamic_site.html
/usr/share/R/library/servr/html/httd.html
/usr/share/R/library/servr/html/make.html
/usr/share/R/library/servr/html/notebook.html
/usr/share/R/library/servr/html/random_port.html
/usr/share/R/library/servr/html/serve_example.html
/usr/share/R/library/servr/html/server_config.html
/usr/share/R/library/servr/html/vign.html
/usr/share/R/library/servr/resources
/usr/share/R/library/servr/resources/rnotebook.html
/usr/share/R/library/servr/resources/ws-create.html
/usr/share/R/library/servr/resources/ws-reload.js

References

Summary

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