Uninstalling the Intel Software Development Products for Linux*

Intel provides the same install and uninstall process mechanism for all of the officially supported and released developer tool products for Linux*.  In general, the user needs to execute the uninstall.sh script that gets generated during the installation of the product. In rare cases, a user might accidentally delete or remove the installed directory and therefore may have to resort to uninstalling the product using a manual procedure dependent upon whether the product was installed as a rpm based root or non-root install of the product.

This article outlines the uninstall procedure for the various products offered by Intel and primarily used by software developers such as: Intel® Parallel Studio XE 2013, Intel® System Studio, Intel® Composer XE 2013, Intel® Inspector XE 2014, Intel® Advisor XE 2014, Intel® Vtune Amplifier XE 2013,  Intel® Integrated Performance Primitives, Intel® Math Kernel Library, Intel® Threading Building Blocks etc.  It is advised that you refer to the product release notes for any changes to the installation or uninstall procedure

The components that are installed depend on what was selected at the time of install and will be in the installed directory; by default under /opt/intel – this is referenced as <install-dir> in the remainder of this document. You could have specified a different location, and could have also perform a “non-root” install in the location of your choice.

Standard procedure to uninstall the product 

Removing (uninstalling) the product should be done by the same user who installed it (root or a non-root user). If "sudo" was used to install, it must be used to uninstall as well. It is not possible to remove the product while leaving any of the performance library or Eclipse* integration components of the product installed. To uninstall, do the following:

1.  Open a terminal window and set default (cd) to any folder outside <install-dir>
2.  Type the command: <install-dir>/uninstall.sh 
3.  Follow the prompts
4.  Repeat steps 2 and 3 to remove additional platforms or versions

If you have added the Intel product Eclipse integration to an instance of Eclipse in your environment, you will need to update your Eclipse configuration by removing the Intel integration extension site from your Eclipse configuration.  To do this, Go to Help > About Eclipse and click on "Installation Details". Select the Intel product you want to uninstall under "Installed Software" and click on "Uninstall..." Click "Finish". When asked to restart Eclipse, select "Yes".

Uninstalling the product in case the user mistakenly removed the <install-dir>

This section outlines the procedure to uninstall in case the user mistakenly deleted the <install-dir> and the uninstall.sh script file cannot be found to invoke the normal uninstall procedure described in the previous section. There are two options to uninstall the product manually:

  • Use the rpm tool: %rpm -qa |grep "regular expression" | xargs rpm -e --nodeps --allmatches
  • Edit the intel_sdb_products.db file to remove any lines based on the same "regular expression" used above, matching a unique portion of the name of the product to be uninstalled.

The steps to follow are as below:

1. Open a terminal window
2. To check if the product is installed

You can follow the step that corresponds to the product you want to uninstall. Under <install-dir> you'll find a physical directory containing files for a specific version of the product. For example, the physical directory for the Composer XE product is "composer_xe_2013_sp1.<n>.<pkg>" where <n> is the update number and <pkg> is the <package_number> referenced in the steps below.

  • For Intel® Parallel Studio - Complete Suite

            % rpm –qa | grep –e ^intel-compilerpro –e ^intel-advisor-xe –e ^intel-inspector –e ^intel-vtune-amplifier

  • For Intel® System Studio - Complete Suite

            % rpm –qa | grep –e ^intel-cembd –e ^intel-gpa –e ^intel-inspector-sys –e ^intel-vtune-amplifier-sys

  • For Intel® Composer XE 2013-Complete Suite

            % rpm –qa | grep intel-composer_xe |grep <package_number>

  • For Intel® Composer XE 2013 - Compiler Only

           % rpm –qa | grep intel-compilerpro  | grep <package_number>

  • For Intel® Inspector XE 2014

           % rpm –qa | grep intel-inspector-xe |grep <package_number>

  • For Intel® Inspector XE 2014 for Systems

           % rpm –qa | grep intel-inspector-sys |grep <package_number>

  • For Intel® Advisor XE 2014

           % rpm –qa | grep intel-advisor-xe |grep <[package_number>

  • For Intel® Vtune Amplifier XE 2013

           % rpm –qa | grep intel-vtune-amplifier-xe |grep <package_number>

  • For Intel® Performance Primitives

           % rpm –qa | grep intel-ipp |grep <package_number>

  • For Intel® Math Kernel Library

           % rpm –qa | grep intel-mkl |grep <package_number>

  • For Intel® Threading Building Blocks

           % rpm –qa | grep intel-tbb |grep <package_number>

3. To uninstall the product installed as root on rpm-based systems (RHEL*, Fedora*, SLES* etc.):

To uninstall the product in such a scenario, you can use the rpm tool to uninstall as below:

  • %rpm -qa |grep <regular expression used in step 2 above> | xargs rpm -e --nodeps --allmatches

            Example: %rpm –qa | grep intel-compilerpro  | grep 174 | xargs rpm -e --nodeps --allmatches

4. To uninstall the product installed as root on non-rpm systems (Debian*, Ubuntu* etc.):

To uninstall the product in such a scenario, you can edit the intel_sdb_products.db file found under the $home/intel directory to remove lines based on the same regular expression used in step2 above.

  • %cd /opt/intel
  • Edit the intel_sdb_products.db file and remove lines based on the same regular expression used in step 2 above. Or you can also use "sed" utility to remove lines based on the regular expression  (Example:  %sed -i '/compilerpro/d' intel_sdp_products.db)
  • % ls –a |grep .intel | grep log | xargs rm –f

5. To uninstall product installed as user (non-root):

  • % cd ${HOME}/intel
  • Edit the intel_sdb_products.db file and remove lines based on the same regular expression used in step 2 above. Or you can also use "sed" utility to remove lines based on the regular expression  (Example:  %sed -i '/compilerpro/d' intel_sdp_products.db)
  • % ls –a |grep .intel | grep log | xargs rm –f

NOTE: Additionally, refer to the product release notes for any updates to install/uninstall procedure.

For more complete information about compiler optimizations, see our Optimization Notice.