[R] un-install R 1.6 built from source

Ernesto Jardim ernesto at ipimar.pt
Wed Nov 20 16:42:26 CET 2002


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:
> 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
> 
> -- 
> Ott Toomet
> otoomet at econ.au.dk
> -------------------------------------------
> 
>  (o_         (*_         (O_         (o< -!  
> //\         //\         //\         //\      
> V_/_        V_/_        V_/_        V_/_     
> 					     
> standard    drunken     shocked     noisy    
> penguin     penguin     penguin     penguin  
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


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