Skip to content

un-install R 1.6 built from source

3 messages · Miguel Bernal, Ott Toomet, Ernesto Jardim

#
I have installed R 1.6 for Linux from source, but unfortunately, I didn't
check if the Xwindow headers were available, so I have installed it without
Xwindows capabilities. Thus, I want to uninstall it and install it again
properly with the required features, but I don't know how to uninstall R when
built from source. I would appreciate any help on this. Thanks very much in
advance!


Miguel Bernal

Instituto Espa?ol de Oceanograf?a
Centro Oceanogr?fico de Malaga
Puerto pesquero s/n 29640, Fuengirola.
Malaga, Spain
Tlf: (34) 952 471907; Fax: (34) 952 463808
e-mail: miguel.bernal at ma.ieo.es
http:\\www.ieo.es

-------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Hi,

 | From: miguel bernal <miguel.bernal at ma.ieo.es>
 | 
 | I have installed R 1.6 for Linux from source, but unfortunately, I didn't
 | check if the Xwindow headers were available, so I have installed it without
 | Xwindows capabilities. Thus, I want to uninstall it and install it again
 | properly with the required features, but I don't know how to uninstall R when
 | built from source. I would appreciate any help on this. Thanks very much in
 | advance!

I guess if you just reinstall R, it will overwrite the old
installation and everything works fine.

There is no automatic uninstall procedure if build from source.
However, there are different options to do it manually.

a) Check the package listing of a rpm.  For 1.5.1 you will see
something like
/usr/bin/R
/usr/lib/R/*
/usr/share/doc/R-base-1.5.1/*
/usr/share/doc/R-*
/usr/share/man/man1/R.1.gz
remove these files and directories.

b) install once more from source, but to a temporary directory
(e.g. configure --prefix=/tmp/R).  Look what files and directories are
created there and delete the corresponding ones in your real directory
tree.

If you need to make your own build, consider building your own RPM
(look www.rpm.org) instead.  You may "borrow" the spec-file from the
existing src.rpm and modify it, that should be the easiest way.

Perhaps it helps.

Ott
#
Hi

I you've build the package with the default --prefix option
(/usr/local), you'll get a file called R in /usr/local/bin, a file
called R.1 in /usr/local/man/man1 and a directory also called R in
/usr/local/lib. Just delete them !

Regards

EJ

PS: If you rebuild it correctly with the same --prefix you can just
overwrite the old version, no problem !
On Wed, 2002-11-20 at 15:00, Ott Toomet wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._