Last active
March 4, 2021 17:26
-
-
Save tori3852/c8b25eeddf211e4e8c6296910cb72c83 to your computer and use it in GitHub Desktop.
Install RStudio on Fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install -y $(curl -s https://rstudio.com/products/rstudio/download/ | grep "fedora" | grep -o "\"[^ \"]*x86_64.rpm\"" | sed "s/\"//g") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Was working previously, when recently executed, it gives an error, as it looks for the package name directly
[user@localhost ~]$ sudo dnf install $(curl -s https://www.rstudio.com/products/rstudio/download/ | grep -o ""[^ \"]*x86_64.rpm"" | sed "s/"//g")
usage: dnf install [-c [config file]] [-q] [-v] [--version]
[--installroot [path]] [--nodocs] [--noplugins]
[--enableplugin [plugin]] [--disableplugin [plugin]]
[--releasever RELEASEVER] [--setopt SETOPTS]
[--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C]
[-R [minutes]] [-d [debug level]] [--debugsolver]
[--showduplicates] [-e ERRORLEVEL] [--obsoletes]
[--rpmverbosity [debug level name]] [-y] [--assumeno]
[--enablerepo [repo]] [--disablerepo [repo] | --repo
[repo]] [--enable | --disable] [-x [package]]
[--disableexcludes [repo]] [--repofrompath [repo,path]]
[--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh]
[-4] [-6] [--destdir DESTDIR] [--downloadonly]
[--comment COMMENT] [--bugfix] [--enhancement]
[--newpackage] [--security] [--advisory ADVISORY]
[--bz BUGZILLA] [--cve CVES]
[--sec-severity {Critical,Important,Moderate,Low}]
[--forcearch ARCH]
PACKAGE [PACKAGE ...]
dnf install: error: the following arguments are required: PACKAGE