Installation Guide

  • 2021.4
  • 09/27/2021
  • Public Content


Pre-installation Steps

Complete the steps below before installing Intel oneAPI packages:
If you have an existing installation of Intel® oneAPI Beta, remove it with the following command:
sudo apt autoremove <package_name>
  1. 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-release
    For compatibility details, refer to the System Requirements page.
  2. If you plan to use Intel GPU, install the Intel GPU drivers.
  3. (Skip this step if you installed Intel oneAPI packages before) Set up your package manager to use the Intel repository:
    1. Get the Intel Repository public key and install it. The example below uses
      since both users and root have read/write access to
      . 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 # 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
    2. Configure the APT client to use Intel’s repository:
      echo "deb all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
      Alternatively, if the
      utility is installed, you can use the following command:
      sudo add-apt-repository "deb all main"
  4. 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.
Install Packages
  1. Before installing oneAPI packages, complete the pre-installation steps listed above.
  2. (Optional) If you are on a company intranet or behind a firewall, make sure to set the
    environment variables to allow YUM access the repository servers using HTTPS protocol.
  3. 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 need
    To 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
  4. After oneAPI tools are installed, set up environment variables to access the tools:
    • See the Before You Begin page for setting up environment. To confirm that the environment is set up correctly, run a sample project using the command line.
    • Consider adding the source of
      to your
      startup script. If you manage a multi-user system, consider how to source this script for all login users, such as adding to your
      startup script or add it to user tools environment using module files or similar.
  5. (Optional) If you want to integrate tools into the Eclipse* IDE, open Eclipse and verify that a menu titled
    is present. If the menu is not present, see Installing Eclipse* Plugins from the IDE.
  6. Installation is complete! For next steps, refer to Get Started with the Intel® oneAPI Toolkits for Linux*.
If you have applications with long-running GPU compute workloads in native environments, you must disable the hangcheck timeout period to avoid terminating workloads.

Upgrade Toolkit/Component

You can upgrade toolkit or component package to the latest version using the following instructions:
  • 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

Toolkit Packages
The following toolkits and associated versions are available for installation via YUM repositories:
The repositories always contain the latest released version.
Toolkit Name
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
* - only required if you deploy and deploy 32-bit applications
Intel® System Bring-Up Toolkit is not distributed via a repository, see details.
Intel® Distribution of OpenVINO™ toolkit for Linux* is distributed via separate YUM and APT repositories.
Runtime Library Packages
The oneAPI repository provides runtime library packages. Install these packages on systems where you run oneAPI applications but do not do development, compilation, or runtime profiling. The following runtime library packages are available:
  • oneAPI runtime libraries package, which is a superset of all runtimes for oneAPI components:
    • 64-bit:
    • 32-bit:
  • 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.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at