difficulties with DESeq2 installation in r version 4.0.2

Hello everyone,

I am trying to install DESeq2 package in r version 4.0.2 but it doesn't work. I have searched a lot on different pages but I couldn't find a solution.
Could anyone help me, please?

Here are the codes that I am running and the errors that I have received:

codes:

if (!requireNamespace("BiocManager", quietly = TRUE))
  install.packages("BiocManager")
BiocManager::install("DESeq2")

And the errors:

* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
** using staged installation
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/RCurl’
Warning in install.packages :
  installation of package ‘RCurl’ had non-zero exit status
ERROR: dependency ‘RCurl’ is not available for package ‘GenomeInfoDb’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/GenomeInfoDb’
Warning in install.packages :
  installation of package ‘GenomeInfoDb’ had non-zero exit status
ERROR: dependency ‘RCurl’ is not available for package ‘annotate’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/annotate’
Warning in install.packages :
  installation of package ‘annotate’ had non-zero exit status
ERROR: dependency ‘GenomeInfoDb’ is not available for package ‘GenomicRanges’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/GenomicRanges’
Warning in install.packages :
  installation of package ‘GenomicRanges’ had non-zero exit status
ERROR: dependency ‘annotate’ is not available for package ‘genefilter’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/genefilter’
Warning in install.packages :
  installation of package ‘genefilter’ had non-zero exit status
ERROR: dependency ‘annotate’ is not available for package ‘geneplotter’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/geneplotter’
Warning in install.packages :
  installation of package ‘geneplotter’ had non-zero exit status
ERROR: dependencies ‘GenomicRanges’, ‘GenomeInfoDb’ are not available for package ‘SummarizedExperiment’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/SummarizedExperiment’
Warning in install.packages :
  installation of package ‘SummarizedExperiment’ had non-zero exit status
ERROR: dependencies ‘GenomicRanges’, ‘SummarizedExperiment’, ‘genefilter’, ‘geneplotter’ are not available for package ‘DESeq2’
* removing ‘/home/user-linux/R/x86_64-pc-linux-gnu-library/4.0/DESeq2’
Warning in install.packages :
  installation of package ‘DESeq2’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpMiYAGn/downloaded_packages’
Error in library("DESeq2") : there is no package called ‘DESeq2’

Thank you

Does it work if you type curl in a terminal (a standard Linux shell, not R)? If the message is "command not found", you need to install libcurl on your system, the exact way depends on your distribution.

Thank you @AlexisW .
I didn't have curl. So, I installed it but I still get the same error for installing DESeq2 package.

If you get the exact same error, then you haven't installed curl successfully, Are you sure you don't get any different error message?
Also, just to be clear, you have to install curl the system library (on a terminal), not curl the R package.

The exact same, especially that line? Cannot find curl-config

Thanks @andresrcs for your reply.
Yes, earlier I've installed it in linux. Now, it works.

Thanks

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.