How To Install R-selectr on Fedora 36

In this tutorial we learn how to install R-selectr in Fedora 36. R-selectr is Translate CSS Selectors to XPath Expressions

Introduction

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

What is R-selectr

Translates a CSS3 selector into an equivalent XPath expression. This allows us to use CSS selectors when working with the XML package as it can only evaluate XPath expressions. Also provided are convenience functions useful for using CSS selectors on XML nodes. This package is a port of the Python package ‘cssselect’ (<https

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

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

sudo dnf -y install R-selectr

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

sudo yum -y install R-selectr

How To Uninstall R-selectr on Fedora 36

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

sudo dnf remove R-selectr

R-selectr Package Contents on Fedora 36

/usr/share/R/library/selectr
/usr/share/R/library/selectr/CITATION
/usr/share/R/library/selectr/DESCRIPTION
/usr/share/R/library/selectr/INDEX
/usr/share/R/library/selectr/LICENCE
/usr/share/R/library/selectr/Meta
/usr/share/R/library/selectr/Meta/Rd.rds
/usr/share/R/library/selectr/Meta/features.rds
/usr/share/R/library/selectr/Meta/hsearch.rds
/usr/share/R/library/selectr/Meta/links.rds
/usr/share/R/library/selectr/Meta/nsInfo.rds
/usr/share/R/library/selectr/Meta/package.rds
/usr/share/R/library/selectr/NAMESPACE
/usr/share/R/library/selectr/NEWS.Rd
/usr/share/R/library/selectr/R
/usr/share/R/library/selectr/R/selectr
/usr/share/R/library/selectr/R/selectr.rdb
/usr/share/R/library/selectr/R/selectr.rdx
/usr/share/R/library/selectr/demos
/usr/share/R/library/selectr/demos/svg-mathml.svg
/usr/share/R/library/selectr/help
/usr/share/R/library/selectr/help/AnIndex
/usr/share/R/library/selectr/help/aliases.rds
/usr/share/R/library/selectr/help/css_to_xpath.html
/usr/share/R/library/selectr/help/paths.rds
/usr/share/R/library/selectr/help/querySelector.html
/usr/share/R/library/selectr/help/querySelectorAll.html
/usr/share/R/library/selectr/help/querySelectorAllNS.html
/usr/share/R/library/selectr/help/querySelectorNS.html
/usr/share/R/library/selectr/help/selectr.rdb
/usr/share/R/library/selectr/help/selectr.rdx
/usr/share/R/library/selectr/html
/usr/share/R/library/selectr/html/00Index.html
/usr/share/R/library/selectr/html/R.css
/usr/share/R/library/selectr/html/css_to_xpath.html
/usr/share/R/library/selectr/html/querySelectorAll.html

References

Summary

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