Help - Search - Members - Calendar
Full Version: unable to uninstall R package in centos
Linuxhelp > Support > Technical Support
harry1805
Hi Friends,

I am trying to uninstall R package in centos. I have tried

sudo rpm -e R.x86_64
>error: %preun(R-2.13.0-2.el6.rf.x86_64) scriptlet failed, exit status 1

sudo yum remove R
>Failed:
R.x86_64 0:2.13.0-2.el6.rf

R
>R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright © 2014 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Iam unable to uninstall R its failing when i try with yum and rpm, later when i try R again it runs R as above. Please help how to uninstall R completely in centos.
Robert83
NOTE * = h

Hello Harry,

Please follow These steps to install R in CentOS 6

Step 1 :

cd /home

Depending on your Distribution 32 or 64 bit do one of the following to as root
## RHEL/CentOS 6 32-Bit ##
wget *ttp://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm

## RHEL/CentOS 6 64-Bit ##
wget *ttp://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm

Step 2 :

cd /etc/yum.repos.d/epel.repo
make sure that [epel] is enabled , enabled=1
the rest can be left disabled.

Step 3 :
yum install R

And there you have it, you have R installed on CentOS 6 . I've just checked it out it installes correctly.
Unfortunatelly I've never used R , so from here on you are alone.

Greetings
Robert
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.