[R] upgrading to 1.5.0/uninstalling 1.4.1 on Linux

Ott Toomet siim at obs.ee
Thu May 2 12:06:38 CEST 2002


On Wed, 1 May 2002, Rajiv Prasad wrote:

  |1. I'd like to get pointers as how to set up my own RPM build from R sources 
  |(1.5.0 for now, later versions in future).
  |2. How would I handle installation/uninstallation of contributed packages?  
  |Is it possible to build RPMs for them too?
  |

Hi,

I have never made a RPM myself, but I think the basic issue is to make a
.spec-file.  You can try to search the web, there are many descriptions how
to do it, you can look e.g. at

http://www-106.ibm.com/developerworks/library/l-rpm1/

Perhaps it is the easiest to get a ready-made src.rpm somewhere, take the
spec file from it (and modify, if needed) and use it.  You can extract a
spec file using 

rpm2cpio package.src.rpm >package.cpio
cpio -i --file=package.cpio

and now should you have package.spec in your current directory.  BTW, it you
can get a src.rpm, you may be able to install it without any modification.

Perhaps it can be made easier, but, as said, I have never done it.

Have a good luck!

Ott

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list