[Rd] [R] RPMs needed to compile R using the tar.gz file

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Aug 5 13:13:51 CEST 2011


First off, this was an R-devel question (or maybe an r-sig-fedora 
one).

It is not at all easy to give a complete answer: the list is very long 
and changes rapidly as Fedora updates.  If you can use yum to install 
a minimal list and let it get the dependencies the list would be 
manageable.  And the simplest way to get a minimal list would be to 
look in the spec file for the Fedora SRPM.

But here's a start, from yum -v install R

pkgconfig
gcc-gfortran
gcc-c++ (optional for R)
libX11-devel
libXt-devel
libXmu-devel
pango-devel
tcl-devel
tk-devel
readline-devel
libpng-devel
libjpeg-turbo-devel
libtiff-devel
libicu-devel

(Fedora uses lots of things like pcre, bzip2 which have copies 
in R.)

A lot of that is actually documented in the R-admin manual.



On Fri, 5 Aug 2011, Patrick Connolly wrote:

> I don't wish to install R by rpm.  I need to know what Fedora rpms I
> need to install to give me the capability to install R using the
> tar.gz source file as I've done for years.
>
> On previous occasions when I've installed Fedora, I've used the DVD
> which has thousands of RPMs.  Lately I've installed Fedora 15 from the
> Live CD which has a lot fewer and so a lot of necessary stuff is not
> installed yet.
>
> I've done the same not long ago with Kubuntu which required me to
> install about 20 debs before I could compile R.  If I had access to
> that installation, I could probably work out what the corresponding
> rpms are.  But I figured some clever person will have a list of the
> necessary rpms somewhere already.  Or even a smarter search string
> than I can think of would be appreciated.
>
> There's a lot of information about installing R from an rpm but that's
> not what I wish to do.
>
> TIA
>
> -- 
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
>   ___    Patrick Connolly
> {~._.~}                   Great minds discuss ideas
> _( Y )_  	         Average minds discuss events
> (:_~*~_:)                  Small minds discuss people
> (_)-(_)  	                      ..... Eleanor Roosevelt
>
> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list