[R] upgrading to 1.5.0/uninstalling 1.4.1 on Linux

Ott Toomet siim at obs.ee
Wed May 1 12:33:08 CEST 2002


On Tue, 30 Apr 2002, Rajiv Prasad wrote:

  |Hi folks:
  |I am running 1.4.1 on an Alpha PCA56 (aka 164SX) running Redhat Linux 7.1 
  |(kernel 2.4.19-pre4).  I built 1.4.1 from sources and it is installed in 
  |/usr/local (the default).  I did compile and install some additional packages 
  |for 1.4.1 besides the recommended ones.
  |
  |I want to upgrade to 1.5.0 now (it is being built now).  Do I need to 
  |uninstall 1.4.1 before I "make install" 1.5.0?  If yes, how exactly?

I am not a specialist with compiling on UNIX but I suggest to remove (or
rather rename the subdirectory for safety) the previous files before you
install the new ones.  Generally, it is not necessary, because (I think) the
old files will be overwritten, but in the case that there are not
corresponding new file, the old unnecessary file may still stay there and
take your disk space.  I do not think there is any automatic way to remove
the old files.  You have to find those yourself and remove them manually.

I have R 1.4.0 on RH 7.1 on I686 and I installed it using pre-compiled rpm. 
The R resides in

/usr/lib/R
/usr/share/doc/R-base-1.4.0

I think these directories can simply be removed.  In addition, there are
documentation files in shared directories

/usr/share/info
/usr/man/man1

here you should remove the files, associated with R1.4.1 only.  And be
careful, if you are removing directories as root!!!!

You might consider making an rpm from the sources first, and thereafter
install as rpm.  It is much more easy to remove.  But I have no experience
here.

Perhaps it helps.

Ott Toomet

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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