[R-sig-Debian] Install R on Ubuntu with libcurl support
Michael Coyne
mikeycgto at gmail.com
Thu Nov 5 18:16:26 CET 2015
The one strange thing I am now noticing is that precise does not have
libcurl listed as a dependency. If you go to
https://cran.r-project.org/bin/linux/ubuntu/precise/Packages and look
for "libcurl" it is not listed. The other Ubuntu builds, such as
trusty or wily do list it.
On Thu, Nov 5, 2015 at 12:01 PM, Michael Coyne <mikeycgto at gmail.com> wrote:
> Thanks for the advice. Going to look into this more this evening and
> hopefully get everything working.
>
> Thanks again!
>
> On Thu, Nov 5, 2015 at 11:56 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>>
>> On 5 November 2015 at 11:44, Michael Coyne wrote:
>> | What do you have installed as far as libcurl goes? Would you mind
>> | listing your packages and greping for libcurl entries.
>>
>> The distribution works with proper dependencies. When R is built with
>> libcurl, the R package already depends on libcurl:
>>
>> edd at max:~$ dpkg -s r-base-core | grep curl
>> Depends: zip, unzip, libpaper-utils, xdg-utils, libblas3 | libblas.so.3, libbz2-1.0, libc6 (>= 2.16), libcairo2 (>= 1.6.0), libcurl3 (>= 7.28.0), libglib2.0-0 (>= 2.12.0), libgomp1 (>= 4.9), libjpeg8 (>= 8c), liblapack3 | liblapack.so.3, liblzma5 (>= 5.1.1alpha+20120614), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpcre3, libpng12-0 (>= 1.2.13-4), libreadline6 (>= 6.0), libtcl8.6 (>= 8.6.0), libtiff5 (>= 4.0.3), libtk8.6 (>= 8.6.0), libx11-6, libxt6, zlib1g (>= 1:1.1.4), ucf (>= 3.0), ca-certificates
>> edd at max:~$
>>
>> Now, you have a point in that there are several curl packages available
>> within Debian / Ubuntu. Here I use this:
>>
>> edd at max:~$ COLUMNS=110 dpkg -l | grep "^ii libcurl" | cut -c-78
>> ii libcurl3:amd64 7.38.0-3ubuntu2 amd64 easy-to-use client-s
>> ii libcurl3:i386 7.38.0-3ubuntu2 i386 easy-to-use client-s
>> ii libcurl3-gnutls:amd64 7.38.0-3ubuntu2 amd64 easy-to-use client-s
>> ii libcurl3-nss:amd64 7.38.0-3ubuntu2 amd64 easy-to-use client-s
>> ii libcurl4-openssl-dev: 7.38.0-3ubuntu2 amd64 development files an
>> edd at max:~$
>>
>> Now, I happen to deploy a fair number of similar machines also usuing Ubuntu
>> 15.04 and work and _not one had issues_ when we switched to https for CRAN
>> repos. But one critical thing you may be overlooking with R _before version
>> 3.2.2_ is that you had to turn it on via options():
>>
>> ‘download.file.method’: Method to be used for ‘download.file’.
>> Currently download methods ‘"internal"’, ‘"wininet"’ (Windows
>> only), ‘"libcurl"’, ‘"wget"’ and ‘"curl"’ are available. If
>> not set, ‘method = "auto"’ is chosen: see ‘download.file’.
>>
>> So play with that and download.file.
>>
>> Dirk
>>
>>
>> |
>> | Perhaps I need some libcurl debs installed when I install r-base?
>> |
>> | On Thu, Nov 5, 2015 at 11:34 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>> | >
>> | > On 5 November 2015 at 11:11, Michael Coyne wrote:
>> | > | Hello,
>> | > |
>> | > | I'm install R from a package off of
>> | > | https://cran.r-project.org/bin/linux/ubuntu/. The install works fine
>> | > | but it does not support libcurl as indicated by executing
>> | > | "capabilities('libcurl')". As such, I cannot install packages from
>> | > | HTTPS sources.
>> | > |
>> | > | How can I install R from a package with libcurl support? Is this
>> | > | possible or do I need to manually build R from source and compile it
>> | > | with libcurl support directly.
>> | >
>> | > Read the README in that very directory, ie at
>> | >
>> | > https://cran.r-project.org/bin/linux/ubuntu/
>> | >
>> | > and install the pre-built R:
>> | >
>> | > R> capabilities()["libcurl"]
>> | > libcurl
>> | > TRUE
>> | > R>
>> | >
>> | > I am using
>> | >
>> | > edd at max:~$ COLUMNS=72 dpkg -l | grep "ii r-base"
>> | > ii r-base-core 3.2.2-1vivid amd64 GNU R core of statistical computa
>> | > ii r-base-core-db 3.2.2-1vivid amd64 GNU R debug symbols for statistic
>> | > ii r-base-dev 3.2.2-1vivid all GNU R installation of auxiliary G
>> | > ii r-base-html 3.2.2-1vivid all GNU R html docs for statistical c
>> | > edd at max:~$
>> | >
>> | > Dirk
>> | >
>> | > --
>> | > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>> |
>> |
>> |
>> | --
>> | http://about.michaeljcoyne.me
>>
>> --
>> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>
>
>
> --
> http://about.michaeljcoyne.me
--
http://about.michaeljcoyne.me
More information about the R-SIG-Debian
mailing list