For the case if we want to reinstall R on our ubuntu, we have to uninstall R at first. To do so, we can use the bwlow commands:
sudo apt-get --purge remove r-base
sudo apt-get --purge remove r-base-dev
As r-base package is just a metapackage that also installs r-base-core internally. We will have to remove r-base-core to remove fully.
sudo apt-get --purge remove r-base-core
After removing all the packge we will have to use below command to install the R again:
sudo apt-get install r-base
sudo apt-get install r-base-dev
sudo apt-get --purge remove r-base
sudo apt-get --purge remove r-base-dev
As r-base package is just a metapackage that also installs r-base-core internally. We will have to remove r-base-core to remove fully.
sudo apt-get --purge remove r-base-core
After removing all the packge we will have to use below command to install the R again:
sudo apt-get install r-base
sudo apt-get install r-base-dev
No comments:
Post a Comment