Question: Error installing AnnotationHub on Fedora
0
gravatar for barashe
3.8 years ago by
barashe10
European Union
barashe10 wrote:

I attempted to install the AnnotationHub package for the coursera bioconductor course. I am using Fedora 21.

I did the following:

  • Made sure R is up to date (typed sudo yum install R).
  • Downloaded and installed an up-to-date version of RStudio.
  • Installed biocondoctor:
    • source("http://www.bioconductor.org/biocLite.R")
    • biocLite()
    • created a personal library since I didn't start RStudio as sudo.
    • biocLite("AnnotationHub") (personal library again, update all old packages).
When it finished, I got the following:

Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘curl’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘httr’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘AnnotationHub’ had non-zero exit status

-----------------------------------------------------------------------------------------------------------------------------

> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Fedora 21 (Twenty One)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] BiocInstaller_1.18.4

loaded via a namespace (and not attached):
[1] tools_3.2.1

-----------------------------------------------------------------------------------------------------------------------

Thanks!

annotationhub curl httr fedora • 1.1k views
ADD COMMENTlink modified 3.1 years ago by anastazie.d10 • written 3.8 years ago by barashe10
Answer: Error installing AnnotationHub on Fedora
3
gravatar for James W. MacDonald
3.8 years ago by
United States
James W. MacDonald50k wrote:

You need curl and curl-devel. For Redhat I believe the correct incantation is

sudo yum install curl curl-devel
ADD COMMENTlink written 3.8 years ago by James W. MacDonald50k

Thanks, worked like a charm.

curl was already installed, but curl-devel wasn't.

ADD REPLYlink written 3.8 years ago by barashe10
Answer: Error installing AnnotationHub on Fedora
1
gravatar for anastazie.d
3.1 years ago by
anastazie.d10
anastazie.d10 wrote:

Or

sudo apt-get install libcurl4-openssl-dev

for Ubuntu

ADD COMMENTlink written 3.1 years ago by anastazie.d10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 684 users visited in the last hour