Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ unable to uninstall R package in centos

Posted by: harry1805 Jul 5 2014, 01:59 PM

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
R.x86_64 0:2.13.0-2.el6.rf

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

Posted by: Robert83 Aug 23 2014, 07:03 AM

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://
rpm -ivh epel-release-6-8.noarch.rpm

## RHEL/CentOS 6 64-Bit ##
wget *ttp://
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.


Powered by Invision Power Board (
© Invision Power Services (