Skip to content
Prev 233 / 3656 Next

Upgrading to R 2.5.1 on Ubuntu Feisty 64

Hi Christophe,

Thanks for posting here -- this should give you the audience for R
questions on Debian / Ubuntu.  I do use Ubuntu at work, but as
maintainer of the package I do know its structture and simple rebuild
(on x86).

I think Johannes and Vincent have published sets of (Python?) scripts
that automate fetching the package source and locally rebuilding.  For
small packages with small built-dependencies, this can be as trivial
as a single apt-get call.  For R it is typically not much more work,
but R 2.5.1 did switch to compiler gcc-4.2 etc, so this time you need
to do minimal editing of debian/control (to reduce the Build-Depends)
and debian/rules (to undo the compiler setting from gcc-4.2 to gcc,
same for g++, gfortran).

That should be all. I hope others can pitch in with tips. I am a
little pressed for time right now or I'd try to cook up a tutorial --
we should create one on the R or Debian or Ubuntu wikis as this
package rebuilding is generally useful.  Also do look if there are
generic 'backporting' tutorials somewhere for Debian that show the
mechanics.

Please give it a try and post questions here.

Cheers, Dirk
On Thu, Jul 26, 2007 at 11:57:12AM +0200, Christophe Bonenfant wrote: