How To Install R-packrat on Fedora 36

In this tutorial we learn how to install R-packrat in Fedora 36. R-packrat is Dependency Management System for R Projects

Introduction

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

What is R-packrat

Manage the R packages your project depends on in an isolated, portable, and reproducible way.

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

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

sudo dnf -y install R-packrat

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

sudo yum -y install R-packrat

How To Uninstall R-packrat on Fedora 36

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

sudo dnf remove R-packrat

R-packrat Package Contents on Fedora 36

/usr/share/R/library/packrat
/usr/share/R/library/packrat/DESCRIPTION
/usr/share/R/library/packrat/INDEX
/usr/share/R/library/packrat/Meta
/usr/share/R/library/packrat/Meta/Rd.rds
/usr/share/R/library/packrat/Meta/features.rds
/usr/share/R/library/packrat/Meta/hsearch.rds
/usr/share/R/library/packrat/Meta/links.rds
/usr/share/R/library/packrat/Meta/nsInfo.rds
/usr/share/R/library/packrat/Meta/package.rds
/usr/share/R/library/packrat/NAMESPACE
/usr/share/R/library/packrat/R
/usr/share/R/library/packrat/R/packrat
/usr/share/R/library/packrat/R/packrat.rdb
/usr/share/R/library/packrat/R/packrat.rdx
/usr/share/R/library/packrat/help
/usr/share/R/library/packrat/help/.snapshotImpl.html
/usr/share/R/library/packrat/help/AnIndex
/usr/share/R/library/packrat/help/aliases.rds
/usr/share/R/library/packrat/help/appDependencies.html
/usr/share/R/library/packrat/help/bitbucket_pwd.html
/usr/share/R/library/packrat/help/bitbucket_user.html
/usr/share/R/library/packrat/help/bundle.html
/usr/share/R/library/packrat/help/bundles_dir.html
/usr/share/R/library/packrat/help/clean.html
/usr/share/R/library/packrat/help/disable.html
/usr/share/R/library/packrat/help/extlib.html
/usr/share/R/library/packrat/help/get_lockfile_metadata.html
/usr/share/R/library/packrat/help/get_opts.html
/usr/share/R/library/packrat/help/gitlab_pwd.html
/usr/share/R/library/packrat/help/gitlab_user.html
/usr/share/R/library/packrat/help/init.html
/usr/share/R/library/packrat/help/install.html
/usr/share/R/library/packrat/help/install_local.html
/usr/share/R/library/packrat/help/lib_dir.html
/usr/share/R/library/packrat/help/lockfile-metadata.html
/usr/share/R/library/packrat/help/off.html
/usr/share/R/library/packrat/help/on.html
/usr/share/R/library/packrat/help/opts.html
/usr/share/R/library/packrat/help/packify.html
/usr/share/R/library/packrat/help/packrat-external.html
/usr/share/R/library/packrat/help/packrat-mode.html
/usr/share/R/library/packrat/help/packrat-options.html
/usr/share/R/library/packrat/help/packrat-package.html
/usr/share/R/library/packrat/help/packrat-resources.html
/usr/share/R/library/packrat/help/packrat.html
/usr/share/R/library/packrat/help/packrat.rdb
/usr/share/R/library/packrat/help/packrat.rdx
/usr/share/R/library/packrat/help/packrat_lib.html
/usr/share/R/library/packrat/help/packrat_mode.html
/usr/share/R/library/packrat/help/paths.rds
/usr/share/R/library/packrat/help/project_dir.html
/usr/share/R/library/packrat/help/repos_add.html
/usr/share/R/library/packrat/help/repos_add_local.html
/usr/share/R/library/packrat/help/repos_create.html
/usr/share/R/library/packrat/help/repos_list.html
/usr/share/R/library/packrat/help/repos_remove.html
/usr/share/R/library/packrat/help/repos_set.html
/usr/share/R/library/packrat/help/repos_set_local.html
/usr/share/R/library/packrat/help/repos_upload.html
/usr/share/R/library/packrat/help/repository-management.html
/usr/share/R/library/packrat/help/restore.html
/usr/share/R/library/packrat/help/search_path.html
/usr/share/R/library/packrat/help/set_lockfile_metadata.html
/usr/share/R/library/packrat/help/set_opts.html
/usr/share/R/library/packrat/help/snapshot.html
/usr/share/R/library/packrat/help/snapshotImpl.html
/usr/share/R/library/packrat/help/src_dir.html
/usr/share/R/library/packrat/help/status.html
/usr/share/R/library/packrat/help/unbundle.html
/usr/share/R/library/packrat/help/unused_packages.html
/usr/share/R/library/packrat/help/user_lib.html
/usr/share/R/library/packrat/help/with_extlib.html
/usr/share/R/library/packrat/html
/usr/share/R/library/packrat/html/00Index.html
/usr/share/R/library/packrat/html/R.css
/usr/share/R/library/packrat/html/appDependencies.html
/usr/share/R/library/packrat/html/bitbucket_pwd.html
/usr/share/R/library/packrat/html/bitbucket_user.html
/usr/share/R/library/packrat/html/bundle.html
/usr/share/R/library/packrat/html/clean.html
/usr/share/R/library/packrat/html/disable.html
/usr/share/R/library/packrat/html/gitlab_pwd.html
/usr/share/R/library/packrat/html/gitlab_user.html
/usr/share/R/library/packrat/html/init.html
/usr/share/R/library/packrat/html/install.html
/usr/share/R/library/packrat/html/install_local.html
/usr/share/R/library/packrat/html/lockfile-metadata.html
/usr/share/R/library/packrat/html/packify.html
/usr/share/R/library/packrat/html/packrat-external.html
/usr/share/R/library/packrat/html/packrat-mode.html
/usr/share/R/library/packrat/html/packrat-options.html
/usr/share/R/library/packrat/html/packrat-resources.html
/usr/share/R/library/packrat/html/packrat.html
/usr/share/R/library/packrat/html/repos_create.html
/usr/share/R/library/packrat/html/repos_upload.html
/usr/share/R/library/packrat/html/repository-management.html
/usr/share/R/library/packrat/html/restore.html
/usr/share/R/library/packrat/html/search_path.html
/usr/share/R/library/packrat/html/snapshot.html
/usr/share/R/library/packrat/html/snapshotImpl.html
/usr/share/R/library/packrat/html/status.html
/usr/share/R/library/packrat/html/unbundle.html
/usr/share/R/library/packrat/html/unused_packages.html
/usr/share/R/library/packrat/resources
/usr/share/R/library/packrat/resources/init-rprofile.R
/usr/share/R/library/packrat/resources/init.R
/usr/share/R/library/packrat/resources/mac_r_userlib.sh
/usr/share/R/library/packrat/rstudio
/usr/share/R/library/packrat/rstudio/rstudio-protocol

References

Summary

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