Installation Guide

  • 2021.4
  • 09/27/2021
  • Public Content

Uninstall oneAPI Toolkits and Components

Uninstall Intel PAC Card

To uninstall an installed software stack, you can run one of the following commands:
  • Intel® PAC for Intel® Arria® 10 GX FPGA
    aocl uninstall intel_a10gx_pac
  • Intel® FPGA PAC D5005
    aocl uninstall intel_s10sx_pac

Uninstall oneAPI Toolkits

Uninstall Using GUI
Use the following commands to uninstall oneAPI Toolkits:
cd /opt/intel/oneapi/installer sudo ./installer
  • Select Remove to remove the toolkit
  • Use Installer dashboard dialog with the list of already installed products (toolkits) to Modify, Repair or Remove each toolkit separately
Uninstall Using Silent CLI
Use the following commands to uninstall oneAPI Toolkits:
  1. Display the list of already installed products and products included in the downloaded package using the following command:
    l_[Toolkit Name]Kit_[version].sh -s -a --list-products
    Example of output:
    ID Version Language Installed Name ========================================================================================================== intel.oneapi.lin.tbb.product 2021.1.1-129 false Intel® oneAPI Threading Building Blocks
  2. Uninstall selected product:
    cd /opt/intel/oneapi/installer sudo ./installer --action remove --product-id intel.oneapi.lin.tbb.product --product-ver 2021.1.1-129
Uninstall Using Linux Package Manager
  • APT
    sudo apt autoremove <package_name>
  • YUM
    sudo yum autoremove <package_name>
Manual removal of the installation folder (not recommended) does not uninstall the oneAPI toolkits completely. Incorrect uninstallation may block future installations. If you still need to remove the toolkit manually, make sure to clean up the system correctly and remove the following:
  • Installation folder
  • Installer cache, located at
    /var/intel/installercache/*
    (root) or
    <user home>/intel/installercache/*
    (user), including:
    • packages cache at
      /var/intel/installercache/packagescache
      (root) or
      <user home>/intel/installercache/packagescache
      (user)
    • download cache at
      /var/intel/installercache/downloadcache/
      (root) or
      <user home>/intel/installercache/downloadcache
      (user)
    • (Optional) package manager database
      /var/intel/packagemanager.db
      (root) or
      <user home>/intel/packagemanager.db
      (user)
  • Installer and package manager executables, located at
    /opt/intel/oneapi/installer/
    (root) or
    <user home>/intel/oneapi/installer/
    (user) and
    /opt/intel/packagemanager/
    (root) or
    <user home>/intel/packagemanager/
    (user), respectively.

Uninstall PyTorch* and TensorFlow* (Part of Intel® AI Analytics Toolkit)

Uninstall PyTorch
  1. Deactivate the pytorch environment, if activated.
  2. Uninstall using the following commands:
    conda remove -p $<install_dir>/pytorch/1.1.0/ --all rm -rf $<install_dir>/pytorch
Uninstall TensorFlow
  1. Deactivate the tensorflow environment, if activated.
  2. Uninstall using the following commands:
    conda remove -p $<install_dir>/tensorflow/1.14.0/ --all rm -rf $<install_dir>/tensorflow

Uninstall the Intel® FPGA Add-on for oneAPI Base Toolkit

To uninstall a specific version of the Intel® FPGA Add-on for oneAPI Base Toolkit, use the following commands:
sudo chmod +w $<install_dir>/intelfpgadpcpp/<version>/ -R sudo rm -rf $<install_dir>/intelfpgadpcpp/<version>/

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.