3.4.1 Uninstall Oracle R Distribution on Linux

Instructions for uninstalling Oracle R Distribution on Linux.

To uninstall Oracle R Distribution on Linux, log in as root and run the commands in the example in the order shown. This example uninstalls R-4.0.5. To uninstall a different version of R, replace the R version in the example with the number of the version you want to uninstall.

Example 3-1 Linux Commands for Uninstalling Oracle R Distribution

Run the rpm -e rpmname command, where rpmname is the name of the RPM you want to remove.

For example, to remove R-4.0.5 on Oracle Linux 7:

rpm -e R-4.0.5-1.el7 
rpm -e R-devel 
rpm -e R-core 
rpm -e R-core-extra 
rpm -e libRmath-devel 
rpm -e libRmath 
rpm -e libRmath-static