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:# Redhat, Fedora, CentOS and related more /etc/redhat-release # Ubuntu, Debian, others more /etc/lsb-releaseFor compatibility details, refer to the System Requirements page.
- (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 theadd-apt-repositoryutility is installed, you can use the following command:sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
- (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:sudo apt install <package_name>For example, to install the Intel® oneAPI Base Toolkit package, use:sudo apt install intel-basekit #repeat 'apt install ...' for each toolkit you needTo get your package name, refer to the list of Intel oneAPI packages.When 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 the source ofsetvars.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.
- 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: