LM/Install oneAPI: Difference between revisions
< LM
Jump to navigation
Jump to search
(Created page with "<syntaxhighlight lang="bash"> # Install required tools sudo apt update sudo apt install -y wget gnupg ca-certificates # Create dir for keyrings sudo mkdir -m 0755 -p /etc/apt/keyrings # Download public key for Intel SW Products, and convert into GPG format. wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \ | gpg --dearmor | sudo tee /etc/apt/keyrings/oneapi-archive-keyring.gpg > /dev/null # Add apt source echo "deb [signed-by=/etc...") |
No edit summary |
||
| Line 1: | Line 1: | ||
== Install == | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# Install required tools | # Install required tools | ||
| Line 20: | Line 22: | ||
source /opt/intel/oneapi/setvars.sh | source /opt/intel/oneapi/setvars.sh | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== .bashrc == | |||
Revision as of 10:22, 13 August 2026
Install
# Install required tools
sudo apt update
sudo apt install -y wget gnupg ca-certificates
# Create dir for keyrings
sudo mkdir -m 0755 -p /etc/apt/keyrings
# Download public key for Intel SW Products, and convert into GPG format.
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
| gpg --dearmor | sudo tee /etc/apt/keyrings/oneapi-archive-keyring.gpg > /dev/null
# Add apt source
echo "deb [signed-by=/etc/apt/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" \
| sudo tee /etc/apt/sources.list.d/oneAPI.list
# Install by apt
sudo apt update
sudo apt install -y intel-oneapi-mkl-devel intel-oneapi-compiler-dpcpp-cpp
source /opt/intel/oneapi/setvars.sh