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
To echo Martin, this is a common problem for DESeq2 users, it's actually in the FAQ:
https://www.bioconductor.org/packages/devel/bioc/vignettes/DESeq2/inst/doc/DESeq2.html#i-have-trouble-installing-deseq2-on-ubuntulinux