Skip to content

Trouble installing swirl on ubuntu 16.04, R 3.2.3 (appears to be the latest version) #498

@alxpopa

Description

@alxpopa

I have already tried the steps at [https://github.com/swirldev/swirl/wiki/Installing-swirl-on-Linux], including step 4 (libcurl4-openssl-dev is already the newest version (7.47.0-1ubuntu2).)

I get the following message when trying to install swirl:

install.packages("swirl")
Installing package into ‘/home/alex/R/x86_64-pc-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘openssl’, ‘httr’

--2016-06-24 02:05:20-- https://cran.rstudio.com/src/contrib/openssl_0.9.4.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 54.192.45.189
Connecting to cran.rstudio.com (cran.rstudio.com)|54.192.45.189|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1165388 (1,1M) [application/x-gzip]
Saving to: ‘/tmp/RtmpNmFBIZ/downloaded_packages/openssl_0.9.4.tar.gz’

 0K .......... .......... .......... .......... ..........  4%  661K 2s
50K .......... .......... .......... .......... ..........  8% 1,31M 1s

100K .......... .......... .......... .......... .......... 13% 1,33M 1s
150K .......... .......... .......... .......... .......... 17% 12,7M 1s
200K .......... .......... .......... .......... .......... 21% 1,95M 1s
250K .......... .......... .......... .......... .......... 26% 4,09M 1s
300K .......... .......... .......... .......... .......... 30% 4,84M 0s
350K .......... .......... .......... .......... .......... 35% 4,56M 0s
400K .......... .......... .......... .......... .......... 39% 6,02M 0s
450K .......... .......... .......... .......... .......... 43% 5,29M 0s
500K .......... .......... .......... .......... .......... 48% 6,67M 0s
550K .......... .......... .......... .......... .......... 52% 5,32M 0s
600K .......... .......... .......... .......... .......... 57% 6,45M 0s
650K .......... .......... .......... .......... .......... 61% 4,74M 0s
700K .......... .......... .......... .......... .......... 65% 6,10M 0s
750K .......... .......... .......... .......... .......... 70% 7,06M 0s
800K .......... .......... .......... .......... .......... 74% 4,50M 0s
850K .......... .......... .......... .......... .......... 79% 1,05M 0s
900K .......... .......... .......... .......... .......... 83% 5,80M 0s
950K .......... .......... .......... .......... .......... 87% 12,6M 0s
1000K .......... .......... .......... .......... .......... 92% 20,1M 0s
1050K .......... .......... .......... .......... .......... 96% 10,1M 0s
1100K .......... .......... .......... ........ 100% 43,9M=0,4s

2016-06-24 02:05:21 (3,13 MB/s) - ‘/tmp/RtmpNmFBIZ/downloaded_packages/openssl_0.9.4.tar.gz’ saved [1165388/1165388]

--2016-06-24 02:05:21-- https://cran.rstudio.com/src/contrib/httr_1.2.0.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 54.192.45.189
Connecting to cran.rstudio.com (cran.rstudio.com)|54.192.45.189|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 133324 (130K) [application/x-gzip]
Saving to: ‘/tmp/RtmpNmFBIZ/downloaded_packages/httr_1.2.0.tar.gz’

 0K .......... .......... .......... .......... .......... 38%  468K 0s
50K .......... .......... .......... .......... .......... 76% 1,34M 0s

100K .......... .......... .......... 100% 7,53M=0,1s

2016-06-24 02:05:21 (884 KB/s) - ‘/tmp/RtmpNmFBIZ/downloaded_packages/httr_1.2.0.tar.gz’ saved [133324/133324]

--2016-06-24 02:05:21-- https://cran.rstudio.com/src/contrib/swirl_2.4.2.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 54.192.45.189
Connecting to cran.rstudio.com (cran.rstudio.com)|54.192.45.189|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 98565 (96K) [application/x-gzip]
Saving to: ‘/tmp/RtmpNmFBIZ/downloaded_packages/swirl_2.4.2.tar.gz’

 0K .......... .......... .......... .......... .......... 51%  657K 0s
50K .......... .......... .......... .......... ......    100% 1,29M=0,1s

2016-06-24 02:05:21 (867 KB/s) - ‘/tmp/RtmpNmFBIZ/downloaded_packages/swirl_2.4.2.tar.gz’ saved [98565/98565]

  • installing source package ‘openssl’ ...
    ** package ‘openssl’ successfully unpacked and MD5 sums checked
    Using PKG_CFLAGS=
    Using PKG_LIBS=-lssl -lcrypto
    ------------------------- ANTICONF ERROR ---------------------------
    Configuration failed because openssl was not found. Try installing:
    • deb: libssl-dev (Debian, Ubuntu, etc)
    • rpm: openssl-devel (Fedora, CentOS, RHEL)
    • csw: libssl_dev (Solaris)
    • brew: openssl (Mac OSX)
      If openssl is already installed, check that 'pkg-config' is in your
      PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
      is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
      R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'

      ERROR: configuration failed for package ‘openssl’
  • removing ‘/home/alex/R/x86_64-pc-linux-gnu-library/3.2/openssl’
    Warning in install.packages :
    installation of package ‘openssl’ had non-zero exit status
    ERROR: dependency ‘openssl’ is not available for package ‘httr’
  • removing ‘/home/alex/R/x86_64-pc-linux-gnu-library/3.2/httr’
    Warning in install.packages :
    installation of package ‘httr’ had non-zero exit status
    ERROR: dependency ‘httr’ is not available for package ‘swirl’
  • removing ‘/home/alex/R/x86_64-pc-linux-gnu-library/3.2/swirl’
    Warning in install.packages :
    installation of package ‘swirl’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpNmFBIZ/downloaded_packages’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions