Howto Install Intel C++ Compiler 10 on Ubuntu Feisty Fawn

Sponsored Link
IntelĀ® C++ Compiler Professional Edition offers the best support for creating multi-threaded applications. Only the Professional Edition offers the breadth of advanced optimization, multi-threading, and processor support that includes automatic processor dispatch, vectorization, auto-parallelization, OpenMP*, data prefetching, and loop unrolling, along with highly optimized C++ templates for parallelism, math processing, and multimedia libraries.

If you want to know the features check here

You need to install non-commercial license software from here

Once you downloaded the file you need to Extract the archive

tar xfzv l_cc_p_10.0.023_ia32.tar.gz

We need to convert the RPM to a debian package using alien

sudo apt-get install alien

cd l_cc_p_10.0.023_ia32/data

sudo alien -cv intel-icc100023-10.0.023-1.i386.rpm

We can now install the debian package

sudo dpkg -i intel-icc100023_10.0.023-2_i386.deb

Now we need to copy our license file to the appropriate directory

sudo mkdir -p /opt/intel/licenses

sudo cp /your/license/path/NCOM_L_CMP_CPP_NB96-WLC77F6B.lic /opt/intel/licenses

Finally, we need to adjust some strings in the executable scripts

cd /opt/intel/cc/10.0.023/bin

sudo perl -pi -w -e ‘s/!\/bin\/sh/!\/bin\/bash/g;' *

sudo perl -pi -w -e 's/<INSTALLDIR>/\/opt\/intel\/cc\/10.0.023/g;' *

To have the compiler directories in the path environment variable, execute

. ./iccvars.sh

Now, try

icc --version

You should see some output like

icc (ICC) 10.0 20070426

Finally, if you want to have the compiler in the path all the time, append to your ~/.bashrc

source /opt/intel/cc/10.0.023/bin/iccvars.sh

To uninstall, simply select the appropriate intel package in synaptic.

Sponsored Link

You may also like...

3 Responses

  1. batman says:

    If you are installing amd64 version of Intel Compilers you will also need to install ia32-libs package in debian/ubuntu.

  2. harvey says:

    My god, when I last installed a compiler on my old windows computer it was a case of double clicking the setup executable and away we go, whats going on?

  3. Manish R says:

    i have problem
    there is a error
    gtkstdc++ so 5 (library) not found
    what to do plz help

Leave a Reply

Your email address will not be published. Required fields are marked *