3.7.2 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 execute the commands in the example in the order shown. This example uninstalls R-3.6.1. 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-2 Linux Commands for Uninstalling Oracle R Distribution

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

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

rpm -e R-3.6.1-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