Visible to Intel only — GUID: GUID-0219D5D6-9329-4B31-9D63-F174E2FD5A2E
YUM/DNF
Pre-installation Steps
Check the System Requirements to make sure that your OS is supported.
Use this command to identify your OS version:
more /etc/redhat-release
If you plan to use GPU, install the GPU drivers separately.
If you are on a company intranet or behind a firewall, set the http_proxy and https_proxy environment variables to allow YUM/DNF access the repository servers using HTTPS protocol.
Set up the repository:
Create the YUM or DNF repo file in the /temp directory as a normal user:
tee > /tmp/oneAPI.repo << EOF [oneAPI] name=Intel® oneAPI repository baseurl=https://yum.repos.intel.com/oneapi enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB EOF
Move the newly created oneAPI.repo file to the YUM/DNF configuration directory /etc/yum.repos.d:
sudo mv /tmp/oneAPI.repo /etc/yum.repos.d
Install
Install the Intel® oneAPI Base Toolkit package with the following command:
YUM:
sudo yum install intel-oneapi-base-toolkit
DNF
sudo dnf install intel-oneapi-base-toolkit
For the next steps, refer to Get Started with Intel® oneAPI Base Toolkit.
Upgrade Toolkit
You can upgrade the toolkit package to the latest version using the following instructions:
# If using YUM: sudo yum upgrade intel-oneapi-base-toolkit # If using DNF: sudo dnf upgrade intel-oneapi-base-toolkit