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
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 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:
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-productsExample of output:
ID Version Language Installed Name ========================================================================================================== intel.oneapi.lin.tbb.product 2021.1.1-129 false Intel® oneAPI Threading Building Blocks Uninstall selected product:
cd /opt/intel/oneapi/installer sudo ./installer --action remove --product-id intel.oneapi.lin.tbb.product --product-ver 2021.1.1-129To uninstall a product from a specific installation instance, use the following command:
cd /opt/intel/oneapi/installer sudo ./installer --action remove --product-id intel.oneapi.lin.tbb.product --product-ver 2021.1.1-129 --instance=<instance id>where<instance id>is a unique combination of alphanumeric symbols set during multi-instance installation.
Uninstall Using Linux Package Manager
APT
sudo apt autoremove <package_name> YUM
sudo yum autoremove <package_name>
Uninstall PyTorch* and TensorFlow* (Part of Intel® AI Analytics Toolkit)
Uninstall PyTorch
Deactivate the pytorch environment, if activated. Uninstall using the following commands:
conda remove -p $<install_dir>/pytorch/1.1.0/ --all rm -rf $<install_dir>/pytorch
Uninstall TensorFlow
Deactivate the tensorflow environment, if activated. 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>/