How to install Intel IPP on Ubuntu
I wanted to try Intel Integrated Performance Primitives (IPP) with OpenCV. I installed IPP with these steps:
Intel IPP can be downloaded from here. If you are using it for non-commercial purposes, you can get it for free through Intel’s Non-Commercial Software Development webpage. You need to register with an email address. You will be sent an email with the download link and a registration key.
Download the Intel IPP version you want, beware that its a huge download. I downloaded Intel IPP 7.1, which ships as a 777MB .tgz file.
Unzip the downloaded .tgz file. Run the install.sh
file. You will be asked to enter your registration key.
The installer walks you through the steps of installing IPP. I was asked to install the gcc-multilib
package, before I could proceed. So, I did:
1 | $ sudo apt-get install gcc-multilib |
By default, the IPP files are installed to /opt/intel/
Going by the steps given on the Intel website, you are supposed to run the ippvars.sh
script, which is in the /opt/intel/ipp/bin
directory. It sets the following environment variables: IPPROOT
, LIBRARY_PATH
and LD_LIBRARY_PATH
. This script failed to work for me. So, I set those manually in my .bashrc
:
1 | # My .bashrc |