Installing Intel® Performance Libraries and Intel® Distribution for Python* Using APT Repository

ID 678568
Updated 5/13/2022
Version Latest
Public

author-image

By

These repositories are no longer being updated as of 2020, and all newer releases can be found on the Intel® oneAPI Toolkits Installation Guide for Linux* OS.

This page provides general installation and support notes about the Community forum supported Intel® Performance Libraries and Intel® Distribution for Python* as they are distributed via the APT repositories described below.

These software development tools are also available as part of the Intel® oneAPI Base & HPC Toolkit. These products include enterprise-level Intel® Online Service Center support.

Setting up the Repository

Install the GPG key for the repository

In a root shell, get the Intel SW Products public key and install it as follows:

sudo bash
# <type your user password when prompted.  this will put you in a root shell>
# cd to /tmp where this shell has write permission
cd /tmp
# now get the key:
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
# now install that key
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
# now remove the public key file exit the root shell
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
exit

Add the APT Repository

Add the repositories in two ways:

  • Add all Intel® Performance Libraries and Intel® Distribution for Python* repositories at once:
    sudo wget https://apt.repos.intel.com/setup/intelproducts.list -O /etc/apt/sources.list.d/intelproducts.list
    You can enable or disable repositories in the intelproducts.repo file by setting the value of the enabled directive to 1 or 0 as required.
  • Add an individual product:
    • Intel® oneAPI Math Kernel Library (oneMKL):
      sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
    • Intel® Integrated Performance Primitives (Intel® IPP):
      sudo sh -c 'echo deb https://apt.repos.intel.com/ipp all main > /etc/apt/sources.list.d/intel-ipp.list'
    • Intel® oneAPI Threading Building Blocks (oneTBB):
      sudo sh -c 'echo deb https://apt.repos.intel.com/tbb all main > /etc/apt/sources.list.d/intel-tbb.list'
    • Intel® oneAPI Data Analytics Library (oneDAL):
      sudo sh -c 'echo deb https://apt.repos.intel.com/daal all main > /etc/apt/sources.list.d/intel-daal.list'
    • Intel® MPI Library:
      sudo sh -c 'echo deb https://apt.repos.intel.com/mpi all main > /etc/apt/sources.list.d/intel-mpi.list'
    • Intel® Distribution for Python*:
      sudo sh -c 'echo deb https://apt.repos.intel.com/intelpython binary/ > /etc/apt/sources.list.d/intelpython.list'
  • NOTE: If you select a package that includes 32-bit libraries, you must first enable i386 architecture with:
    sudo dpkg --add-architecture i386

Update the list of packages

sudo apt-get update

Intel® Performance Libraries and Intel® Distribution for Python* versions available in the repository

<COMPONENT> <VERSION> <UPDATE> <BUILD_NUM>
oneMKL   2017
2017
2017
2018
​2018
2018
2018
2018
2019
2019
2019
2019
2019
2019
2020
2
3
4
0
1
2
3
4
0
1
2
3
4
5
0
050
056
061
033
038
046
051
057
045
053
057
062
070
075
088
Intel® IPP 2017
2017
2018
2018
2018
​2018
2018
​2019
2019
2019
2019
2019
2019
2020
2
3
0
1
2
​3
4
0
1
2
3
4
5
0
050
056
033
038
046
051
057
045
053
057
062
070
075
088
Intel® TBB 2017
2017
2018
2018
2018
2018
2019
2019
2019
2019
2019
2020
6
8
0
2
​4
6
0
2
4
6
8
0
056
061
033
046
​051
057
045
057
062
070
075
088
Intel® DAAL 2017
2017
2018
2018
2018
2018
2019
2019
2019
2019
2019
2019
2020
3
4
0
1
2
3
0
1
2
3
4
5
0
056
061
033
038
046
051
045
053
057
062
070
075
088
Intel® MPI Library 2018
2018
2018
2019
2019
2019
2019
2019
2019
2019
2
3
4
0
1
2
3
4
5
6
046
051
057
​045
053
057
062
070
075
088

Intel® Distribution for Python*

2017
2017

2018
2018
2018
​2018
2019
2019
2019
2019
2019
2019
2020
2
3

0
1
2
3
0
1
2
3
4
5
0

045
053(python2)
​052(python3)
018
023
037
039
047
058
066
075
088
098
014

By downloading Intel® Performance Libraries and Intel® Distribution for Python* you agree to the terms and conditions stated in the End-User License Agreement (EULA).

Installing the library and Python packages using the APT-GET Package Manager

The following variables are used in the installation commands:
<PYTHON_VERSION>: 2, 3
<VERSION>: 2018, ...
<UPDATE>: 0, 1, 2, ...
<BUILD_NUMBER>: build number, check the list in previous section
<COMPONENT>: a component name from the list of available components below

Component <COMPONENT> Target Architecture

Intel® oneAPI Math Kernel Library (oneMKL)

intel-mkl
intel-mkl-32bit
intel-mkl-64bit
32bit & 64bit
32bit
64bit
Intel® Integrated Performance Primitives intel-ipp
intel-ipp-32bit
intel-ipp-64bit
32bit & 64bit
32bit
64bit
Intel® Threading Building Blocks intel-tbb 32bit & 64bit
Intel® Data Analytics Acceleration Library intel-daal
intel-daal-32bit
intel-daal-64bit
32bit & 64bit
32bit
64bit
Intel® MPI Library intel-mpi 64bit

Intel® Distribution for Python*

intelpython2
intelpython3
64bit
64bit

How do I install a particular version?

  1. To install a particular version of one of the Intel® Performance Libraries:
    sudo apt-get install <COMPONENT>-<VERSION>.<UPDATE>-<BUILD_NUMBER>

    Example:

    sudo apt-get install intel-mkl-2018.2-046
  2. To install a particular language version of the Intel® Distribution for Python*:
    sudo apt-get install intelpython<PYTHON_VERSION>

    Example:

    sudo apt-get install intelpython3
  3. To specify which version of the Intel® Distribution for Python* to install:
    sudo apt-get install intelpython<PYTHON_VERSION>=<VERSION>.<UPDATE>.<BUILD_NUMBER>

    Example:

    sudo apt-get install intelpython3=2018.2.037

By downloading Intel® Performance Libraries and Intel® Distribution for Python* you agree to the terms and conditions stated in the End-User License Agreement (EULA).

How do I uninstall a particular version?

  1. To uninstall one of the Intel® Performance Libraries:
    sudo apt-get autoremove <COMPONENT>-<VERSION>.<UPDATE>-<BUILD_NUMBER>

    Example:

    sudo apt-get autoremove intel-mkl-2018.2-046
  2. To uninstall the Intel® Distribution for Python*:
    sudo apt-get remove intelpython<PYTHON_VERSION>

    Example:

    sudo apt-get remove intelpython3

Troubleshooting

apt-get update hang

If you notice a hang after apt-get update during the Working 0% stage, please run the following command after installing the GPG key for the repository:

apt-get install apt-transport-https ca-certificates

This will allow the package manager to access metadata and packages over https (Hypertext Transfer Protocol Secure), which is how the Intel repositories are hosted.

Have Questions?

Check out the FAQ
See our Get Help page for your support options.