sudo apt autoremove <package_name>
- Make sure that your OS is supported. You can get your OS version using one of the commands in a terminal window:
For compatibility details, refer to the System Requirements page.# Redhat, Fedora, CentOS and related more /etc/redhat-release # Ubuntu, Debian, others more /etc/lsb-release
- If you plan to use Intel GPU, install the Intel GPU drivers.
- (Skip this step if you installed Intel oneAPI packages before) Set up your package manager to use the Intel repository:
- Get the Intel Repository public key and install it. The example below uses/tmpsince both users and root have read/write access to/tmp. You can use any other directory where you have read/write access as both user and sudo user:# use wget to fetch the Intel repository public key cd /tmp wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB # add to your apt sources keyring so that archives signed with this key will be trusted. sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB # remove the public key rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
- Configure the APT client to use Intel's repository:echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.listAlternatively, if the add-apt-repository utility is installed, you can use the following command:sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
- Get the name of the toolkit package that you need to install using the list of Intel oneAPI packages. Write down or copy your package name for future reference.
- Before installing oneAPI packages, complete the pre-installation steps listed above.
- (Optional) If you are on a company intranet or behind a firewall, make sure to set thehttp_proxyandhttps_proxyenvironment variables to allow YUM access the repository servers using HTTPS protocol.
- Install the needed package with the following command:
For example, to install the Intel® oneAPI Base Toolkit package, use:sudo apt install <package_name>
To get your package name, refer to the list of Intel oneAPI packages.sudo apt install intel-basekit #repeat 'apt install ...' for each toolkit you needWhen installing on a machine with no internet access, or in case of a large distributed installation on a cluster, you can download a package without installing it with the--download-onlyoption.
- After oneAPI tools are installed, set up environment variables to access the tools:
- Consider adding thesourceofsetvars.shto your~/.bash_profilestartup script. If you manage a multi-user system, consider how to source this script for all login users, such as adding to your/etc/profilestartup script or add it to user tools environment using module files or similar.
- (Optional) If you want to integrate tools into the Eclipse* IDE, open Eclipse and verify that a menu titledIntelis present. If the menu is not present, see Installing Eclipse* Plugins from the IDE.
- Installation is complete! For next steps, refer to Get Started with the Intel® oneAPI Toolkits for Linux*.
- Toolkit:sudo apt upgrade <toolkit package>For example, to upgrade the Intel oneAPI Base Toolkit package to the latest version, use the following command:sudo apt install intel-basekit
- Component:sudo apt upgrade <component package>For example, to upgrade the Intel Distribution for GDB* package, use the following command:sudo apt install intel-oneapi-dpcpp-debugger
List of Intel® oneAPI Packages
64-bit Meta Package Name (default)
32-bit Meta Package Name*
Intel® oneAPI Base Toolkit
Intel® oneAPI HPC Toolkit
Intel® oneAPI IoT Toolkit
Intel® oneAPI DL Framework Developer Toolkit
Intel® AI Analytics Toolkit
Intel® oneAPI Rendering Toolkit
Intel® FPGA Add-On for oneAPI Base Toolkit
- oneAPI runtime libraries package, which is a superset of all runtimes for oneAPI components:
- Component runtime library packages. For instructions on how to get the list of all available standalone runtime packages, refer to the List Standalone Runtime Library Packages section.