How To Install R-askpass on Fedora 36

In this tutorial we learn how to install R-askpass in Fedora 36. R-askpass is Safe Password Entry for R, Git, and SSH

Introduction

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

What is R-askpass

Cross-platform utilities for prompting the user for credentials or a passphrase, for example to authenticate with a server or read a protected key. Includes native programs for MacOS and Windows, hence no ’tcltk’ is required. Password entry can be invoked in two different ways askpass() function, or indirectly as password-entry back-end for ‘ssh-agent’ or ‘git-credential’ via the SSH_ASKPASS and GIT_ASKPASS environment variables. Thereby the user can be prompted for credentials or a passphrase if needed when R calls out to git or ssh.

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

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

sudo dnf -y install R-askpass

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

sudo yum -y install R-askpass

How To Uninstall R-askpass on Fedora 36

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

sudo dnf remove R-askpass

R-askpass Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/60e5b190680ea00fe2af95d71577d4bff8ec48
/usr/lib64/R/library/askpass
/usr/lib64/R/library/askpass/DESCRIPTION
/usr/lib64/R/library/askpass/INDEX
/usr/lib64/R/library/askpass/LICENSE
/usr/lib64/R/library/askpass/Meta
/usr/lib64/R/library/askpass/Meta/Rd.rds
/usr/lib64/R/library/askpass/Meta/features.rds
/usr/lib64/R/library/askpass/Meta/hsearch.rds
/usr/lib64/R/library/askpass/Meta/links.rds
/usr/lib64/R/library/askpass/Meta/nsInfo.rds
/usr/lib64/R/library/askpass/Meta/package.rds
/usr/lib64/R/library/askpass/NAMESPACE
/usr/lib64/R/library/askpass/NEWS
/usr/lib64/R/library/askpass/R
/usr/lib64/R/library/askpass/R/askpass
/usr/lib64/R/library/askpass/R/askpass.rdb
/usr/lib64/R/library/askpass/R/askpass.rdx
/usr/lib64/R/library/askpass/WORDLIST
/usr/lib64/R/library/askpass/help
/usr/lib64/R/library/askpass/help/AnIndex
/usr/lib64/R/library/askpass/help/aliases.rds
/usr/lib64/R/library/askpass/help/askpass.html
/usr/lib64/R/library/askpass/help/askpass.rdb
/usr/lib64/R/library/askpass/help/askpass.rdx
/usr/lib64/R/library/askpass/help/paths.rds
/usr/lib64/R/library/askpass/help/ssh_askpass.html
/usr/lib64/R/library/askpass/html
/usr/lib64/R/library/askpass/html/00Index.html
/usr/lib64/R/library/askpass/html/R.css
/usr/lib64/R/library/askpass/html/askpass.html
/usr/lib64/R/library/askpass/html/ssh_askpass.html
/usr/lib64/R/library/askpass/libs
/usr/lib64/R/library/askpass/libs/askpass.so

References

Summary

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