Problem with installing curl for R package

I am sharing my experience so that this could help others.
I use R program and when I try to install a package it says curl is not available.

ERROR: dependency ‘curl’ is not available for package ‘TTR’

But when you try install it in terminal using

sudo apt install curl

You see an output that it is already installed. So, here is the solution

The solution is to use the following command in terminal

sudo dnf install libcurl-devel

After this if you install a package he package will install without any problem.

2 Likes

The R curl package is available in Fedora also; you can install it with sudo dnf install 'R(curl)'.

Many other R packages are available and can be installed as sudo dnf install 'R(packageName)'

1 Like