Installation of Intel oneAPI suite of compilers on Ubuntu Linux
Intel has recently changed their business model. Their suite of compilers, debuggers, toolkits, and libraries are given free of cost for personal or academic use. Here I explain how to install them on Ubuntu linux. All of these softwares are activated using a single source command.
Make sure that you have the following packages already installed on your ubuntu machine.
If they are not installed, you can install using the following command:
sudo apt update sudo apt -y install cmake pkg-config build-essential
Intel Repository Public Key
Get the Intel Repository public key and add it to your apt sources keyring so the packages will be trusted by ubuntu.
# use wget to fetch the Intel repository public key 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 apt client to use Intel repository
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
Install all the packages or selected packages.
All basic compilers (Fortran, C, C++, and Python)
sudo apt install intel-basekit
sudo apt install intel-hpckit
IoT (internet of things) toolkits
sudo apt install intel-iotkit
AI (Artificial Intelligence) analytics toolkits
sudo apt install intel-aikit
sudo apt install intel-renderkit
After you have installed the oneAPI kits, they can be activated using the following command written in the
For all users (root access)
For single user
Search content by categories