Uninstalling Your SAS Software

Overview of Uninstalling Your SAS Software

You should now uninstall the SAS products.
If you are using a Java Runtime Engine (JRE) installed for SAS 9.3 and want to remove that too, remove the JRE as the last step. The SAS Deployment Manager depends on the JRE to uninstall SAS 9.3.

Uninstall SAS on Windows

To uninstall SAS software from a Windows machine, perform these steps:
  1. Remove the configurations for any SAS software that you are uninstalling by following the instructions described in, Remove a Configuration.
  2. Make sure that you are logged on as the SAS Installer user (the user account used to install the SAS Software) or as the Administrator (or a user in the Administrators group).
  3. Open the Control Panel by selecting Startthen selectSettingsthen selectControl Panel.
  4. From the Control Panel, open the Programs and Features window. (On earlier Windows systems, open the Add or Remove Programs window.)
  5. Locate SAS 9.3 in the list of programs and double-click it. (On earlier Windows systems, click Change/Remove.)
    The SAS Deployment Manager Choose Language dialog box appears.
  6. Select the language that you want the SAS Deployment Manager to use when it displays text.
    The SAS Deployment Manager splash screen appears.
    SAS Deployment Manager splash screen
  7. On the Select SAS Products to Uninstall page, the SAS products to be uninstalled have a check beside them. (By default, all SAS products are checked.) If there are any SAS products that you want to keep, deselect them. When you have made your selections, click Next.
    Select SAS Products to Uninstall page
    The deployment manager checks your system to make sure that you have Write permission for all of the SAS program files that it is going to remove, and none of the files are locked. If any files meet these criteria, their pathnames appear in the text field. You must unlock the file or make it writeable before the deployment manager enables you to proceed with the uninstall.
    Checking System page
  8. Click Next.
    The Summary page appears.
    Summary page
  9. If there are any products that you want to keep, click Back until to see the Select SAS Products to Uninstall page and deselect the products. Otherwise, click Start.
    The deployment manager uninstalls the selected SAS products.
  10. When you see the Deployment Complete page, click Finish.
    Deployment Complete page
    The deployment manager closes.
  11. Close the Add or Remove Programs window and the Control Panel.
  12. Delete your SAS installation directory (SAS Home) (for example, C:\Program Files\SAS-installation-directory).
  13. Delete your SAS configuration directory (for example, C:\SAS\Config\Lev1).
  14. Delete all SAS Windows Start menu shortcuts for All Users and the SAS Installer user (for example, delete the SAS directory under C:\Documents and Settings\All Users).
  15. Delete the SAS directory under \Local Settings\Application Data for the SAS Installer user:
    \Documents and Settings\SAS-Installer-ID\Local Settings\Application Data\SAS

Uninstall SAS on UNIX

To uninstall SAS software on a UNIX machine, perform these steps:
  1. Make sure that you have first unconfigured the SAS software on the machine by following the directions in Removing a SAS Configuration.
  2. Make sure that you have permission to delete files from the SAS home directory (the directory in which your SAS software is installed).
  3. Make sure that you have permission to delete files from your configuration directory.
  4. Make sure that you are logged on as the SAS Installer user (the user account used to install the SAS Software).
  5. Remove the SAS 9.3 installation directories by executing the rm -rf command on the top-level SAS 9.3 installation directory. Note that you must not cd to this directory before executing the command.
    For example, if the top-level SAS 9.3 installation directory is /opt/SAS/SAS_93, then you would use the following command:
    rm -rf /opt/SAS/SAS_9.3