I have R installed at 2 places in my machine (Ubuntu 14.04)
usr/bin/R
and /home/amit/bin/R
.
I want to remove the older version from home/amit/bin/R
and use the new version installed in usr/bin/R
.
I tried using the sudo apt-get remove /home/amit/bin/R
but it returns E: Unable to locate package /home/amit/bin
.
Kindly help.
apt-get
to install it in your home dir, so how did you install it? if you compiled R from source, you can usemake uninstall
(https://askubuntu.com/questions/87111/if-i-build-a-package-from-source-how-can-i-uninstall-or-remove-completely) – amc Jun 29 '17 at 15:47