特殊:Badtitle/NS100:InstallingCompilers:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的8个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/InstallingCompilers}} | {{From|https://help.ubuntu.com/community/InstallingCompilers}} | ||
{{Languages|UbuntuHelp:InstallingCompilers}} | {{Languages|UbuntuHelp:InstallingCompilers}} | ||
#title Installing Compilers | |||
== Installing the GNU C compiler and GNU C++ compiler == | == Installing the GNU C compiler and GNU C++ compiler == | ||
To install the '''gcc''' and '''g++''' compilers, you will need the <code><nowiki>build-essential</nowiki></code> package. This will also install '''GNU make'''. To install the manpages for '''c''' and '''c++''' development, install the <code><nowiki>manpages-dev</nowiki></code> package. | To install the '''gcc''' and '''g++''' compilers, you will need the <code><nowiki>build-essential</nowiki></code> package. This will also install '''GNU make'''. To install the manpages for '''c''' and '''c++''' development, install the <code><nowiki>manpages-dev</nowiki></code> package. | ||
== Installing the GNU Java compiler == | == Installing the GNU Java compiler == | ||
Note that GNU's Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see [[UbuntuHelp:Java|Java]]. To install '''gcj''', the GNU Java compiler, install the following package: <code><nowiki>gcj</nowiki></code>. | |||
Note that GNU's Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see [[UbuntuHelp:Java]]. To install '''gcj''', the GNU Java compiler, install the following package: <code><nowiki>gcj</nowiki></code>. | |||
'''gcj''' can be used to: | '''gcj''' can be used to: | ||
<ol><li>compile .java files to bytecode (.class files). | |||
</li><li>compile .java files to a linux-executable.</li></ol> | |||
To install the GNU Java bytecode interpreter, you need the <code><nowiki>gij</nowiki></code> package. | To install the GNU Java bytecode interpreter, you need the <code><nowiki>gij</nowiki></code> package. | ||
To have '''gcj''' compile to executables, install libgcj6-dev (otherwise an error during compilation occurs: libgcj.spec: No such file or directory). | To have '''gcj''' compile to executables, install libgcj6-dev (otherwise an error during compilation occurs: libgcj.spec: No such file or directory). | ||
Use '''synaptic''' to install libgcj6-dev. | Use '''synaptic''' to install libgcj6-dev. | ||
== Installing the GNU Fortran compilers == | == Installing the GNU Fortran compilers == | ||
To install the GNU Fortran 77 compiler - '''g77''', you need the <code><nowiki>g77</nowiki></code> package. | To install the GNU Fortran 77 compiler - '''g77''', you need the <code><nowiki>g77</nowiki></code> package. | ||
To install the GNU Fortran 95 compiler - '''gfortran''', the package is: <code><nowiki>gfortran</nowiki></code>. | To install the GNU Fortran 95 compiler - '''gfortran''', the package is: <code><nowiki>gfortran</nowiki></code>. | ||
== Installing the GNU autotools == | == Installing the GNU autotools == | ||
To install '''autoconf''' and '''automake''', you need the <code><nowiki>autoconf</nowiki></code> and <code><nowiki>automake</nowiki></code> packages. | |||
To install '''autoconf''' and '''automake''', you need the <code><nowiki>autoconf automake</nowiki></code> packages. | |||
Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, you need to specify the version, such as the <code><nowiki>automake1.9</nowiki></code> package. | Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, you need to specify the version, such as the <code><nowiki>automake1.9</nowiki></code> package. | ||
== 32-bit Builds on AMD64 == | |||
The the GNU compilers have options that allow them to create 32-bit object and executable files on 64-bit operating systems, and vica versa. The critical options are '''-m32''' (to build 32-bit) and '''-m64''' (to build 64-bit). | |||
These options will be present when you install the compiler of your choice. However, they won't actually work unless you install several additional packages. | |||
The first thing you will need is the multilib package for the compiler you are using. For example, to add multilib support to the default version of g++ (4.1 in gutsy), you would install {g++-multilib}. For 4.2, you would need {g++-4.2-multilib}. | |||
The multilib packages are compiler runtime packages. Now, you need 32-bit (or 64-bit) versions of whatever libraries you need to link your application program. 64-bit packages have names that start with '''lib64'''. Install these on 32-bit systems to support 64-bit builds. 32-bit packages have names that start with '''lib32'''. Install these on 64-bit systems to support 32-bit builds. Whatever else you are doing, you will probably need {libNNgcc1}. If you are using g++, you will need {libNNstdc++6}. | |||
== Installing the Intel Compiler Suite Professional Edition 10.x == | |||
Using the Intel compilers for C, C++, and FORTRAN requires installing 32-bit libraries for Ubuntu if you are using a 64-bit system. Please ensure you have these packages: | |||
<ol><li><code><nowiki>gcc</nowiki></code>, <code><nowiki>build-essential</nowiki></code>, <code><nowiki>libc6-dev</nowiki></code> (see above) | |||
</li><li><code><nowiki>ia32-libs</nowiki></code>, <code><nowiki>g++-multilib</nowiki></code>, and <code><nowiki>libc6-dev-i386</nowiki></code> (for '''64-bit''' systems) | |||
</li><li>32-bit packages starting with '''lib32''' (for '''64-bit''' systems) | |||
</li><li><code><nowiki>alien</nowiki></code> and <code><nowiki>rpm</nowiki></code> for installing the RPM packages that Intel distributes. | |||
</li><li><code><nowiki>libstdc++5</nowiki></code> and <code><nowiki>libstdc++5-3.3-dev</nowiki></code> for good measure because Intel's builds depend on these runtimes.</li></ol> | |||
[ | before you attempt installing the Intel Compiler Suite. | ||
=== Get the License Number and Extract to a path without spaces === | |||
Ensure that you have obtained the license number for your installation and extracted | |||
the downloaded installation archive into a path that '''does not contain any spaces'''. | |||
This last statement is utterly important. The installer script that comes with | |||
the package has a bug that does not allow you to install the compiler suite if you have | |||
any spaces in the installer script path. | |||
=== On 64-bit systems you may also need to issue these commands === | |||
<pre><nowiki> | |||
# cd /usr/lib32 | |||
# ln -s libpthread.so libpthread.so.0 | |||
# ln -s libm.so libm.so.6 | |||
# ln -s libc.so libc.so.6 | |||
# ln -s libdl.so libdl.so.2 | |||
</nowiki></pre> | |||
because the chklic_32_64 license checking utility from Intel dynamically links to these libraries. | |||
Once you're done preparing to install the compiler suite, it's time to go to the installer directory and | |||
install the compiler (be sure to also read through accompanying documentation; e.g., README, INSTALL.txt): | |||
=== Run the Installation Script === | |||
<pre><nowiki> | |||
$ cd /home/user/intel_compiler_suite | |||
$ sudo ./install.sh | |||
...Follow the wizard as it guides you through the installation process. | |||
</nowiki></pre> | |||
After installing the compiler, you need to tell your shell the location of these executables | |||
by adding their parent paths to the '''PATH''' environment variable. | |||
=== Edit /etc/bash.bashrc to add the installation path to the PATH environment variable === | |||
<pre><nowiki> | |||
export PATH=/opt/intel/cc/10.1.012/bin:/opt/intel/idb/10.1.012/bin:${PATH} | |||
</nowiki></pre> | |||
Where '''10.1.012''' is the version of the compiler suite installed. | |||
For more information: | |||
[http://support.intel.com/support/performancetools/sb/CS-025939.htm Intel Compiler Suite 10.x support page for Ubuntu Linux] | |||
---- | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月12日 (二) 17:27的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/InstallingCompilers }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/af | • {{#if: UbuntuHelp:InstallingCompilers|Afrikaans| [[::InstallingCompilers/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ar | • {{#if: UbuntuHelp:InstallingCompilers|العربية| [[::InstallingCompilers/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/az | • {{#if: UbuntuHelp:InstallingCompilers|azərbaycanca| [[::InstallingCompilers/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/bcc | • {{#if: UbuntuHelp:InstallingCompilers|جهلسری بلوچی| [[::InstallingCompilers/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/bg | • {{#if: UbuntuHelp:InstallingCompilers|български| [[::InstallingCompilers/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/br | • {{#if: UbuntuHelp:InstallingCompilers|brezhoneg| [[::InstallingCompilers/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ca | • {{#if: UbuntuHelp:InstallingCompilers|català| [[::InstallingCompilers/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/cs | • {{#if: UbuntuHelp:InstallingCompilers|čeština| [[::InstallingCompilers/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/de | • {{#if: UbuntuHelp:InstallingCompilers|Deutsch| [[::InstallingCompilers/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/el | • {{#if: UbuntuHelp:InstallingCompilers|Ελληνικά| [[::InstallingCompilers/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/es | • {{#if: UbuntuHelp:InstallingCompilers|español| [[::InstallingCompilers/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/fa | • {{#if: UbuntuHelp:InstallingCompilers|فارسی| [[::InstallingCompilers/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/fi | • {{#if: UbuntuHelp:InstallingCompilers|suomi| [[::InstallingCompilers/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/fr | • {{#if: UbuntuHelp:InstallingCompilers|français| [[::InstallingCompilers/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/gu | • {{#if: UbuntuHelp:InstallingCompilers|ગુજરાતી| [[::InstallingCompilers/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/he | • {{#if: UbuntuHelp:InstallingCompilers|עברית| [[::InstallingCompilers/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/hu | • {{#if: UbuntuHelp:InstallingCompilers|magyar| [[::InstallingCompilers/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/id | • {{#if: UbuntuHelp:InstallingCompilers|Bahasa Indonesia| [[::InstallingCompilers/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/it | • {{#if: UbuntuHelp:InstallingCompilers|italiano| [[::InstallingCompilers/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ja | • {{#if: UbuntuHelp:InstallingCompilers|日本語| [[::InstallingCompilers/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ko | • {{#if: UbuntuHelp:InstallingCompilers|한국어| [[::InstallingCompilers/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ksh | • {{#if: UbuntuHelp:InstallingCompilers|Ripoarisch| [[::InstallingCompilers/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/mr | • {{#if: UbuntuHelp:InstallingCompilers|मराठी| [[::InstallingCompilers/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ms | • {{#if: UbuntuHelp:InstallingCompilers|Bahasa Melayu| [[::InstallingCompilers/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/nl | • {{#if: UbuntuHelp:InstallingCompilers|Nederlands| [[::InstallingCompilers/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/no | • {{#if: UbuntuHelp:InstallingCompilers|norsk| [[::InstallingCompilers/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/oc | • {{#if: UbuntuHelp:InstallingCompilers|occitan| [[::InstallingCompilers/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/pl | • {{#if: UbuntuHelp:InstallingCompilers|polski| [[::InstallingCompilers/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/pt | • {{#if: UbuntuHelp:InstallingCompilers|português| [[::InstallingCompilers/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ro | • {{#if: UbuntuHelp:InstallingCompilers|română| [[::InstallingCompilers/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/ru | • {{#if: UbuntuHelp:InstallingCompilers|русский| [[::InstallingCompilers/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/si | • {{#if: UbuntuHelp:InstallingCompilers|සිංහල| [[::InstallingCompilers/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/sq | • {{#if: UbuntuHelp:InstallingCompilers|shqip| [[::InstallingCompilers/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/sr | • {{#if: UbuntuHelp:InstallingCompilers|српски / srpski| [[::InstallingCompilers/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/sv | • {{#if: UbuntuHelp:InstallingCompilers|svenska| [[::InstallingCompilers/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/th | • {{#if: UbuntuHelp:InstallingCompilers|ไทย| [[::InstallingCompilers/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/tr | • {{#if: UbuntuHelp:InstallingCompilers|Türkçe| [[::InstallingCompilers/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/vi | • {{#if: UbuntuHelp:InstallingCompilers|Tiếng Việt| [[::InstallingCompilers/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/yue | • {{#if: UbuntuHelp:InstallingCompilers|粵語| [[::InstallingCompilers/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/zh | • {{#if: UbuntuHelp:InstallingCompilers|中文| [[::InstallingCompilers/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/zh-hans | • {{#if: UbuntuHelp:InstallingCompilers|中文(简体)| [[::InstallingCompilers/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InstallingCompilers | UbuntuHelp:InstallingCompilers | {{#if: | :}}InstallingCompilers}}/zh-hant | • {{#if: UbuntuHelp:InstallingCompilers|中文(繁體)| [[::InstallingCompilers/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:InstallingCompilers|:InstallingCompilers|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :InstallingCompilers/zh | | {{#ifexist: InstallingCompilers/zh | | {{#ifeq: {{#titleparts:InstallingCompilers|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:InstallingCompilers|1|-1|}} | zh | | }}
- title Installing Compilers
Installing the GNU C compiler and GNU C++ compiler
To install the gcc and g++ compilers, you will need the build-essential
package. This will also install GNU make. To install the manpages for c and c++ development, install the manpages-dev
package.
Installing the GNU Java compiler
Note that GNU's Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see Java. To install gcj, the GNU Java compiler, install the following package: gcj
.
gcj can be used to:
- compile .java files to bytecode (.class files).
- compile .java files to a linux-executable.
To install the GNU Java bytecode interpreter, you need the gij
package.
To have gcj compile to executables, install libgcj6-dev (otherwise an error during compilation occurs: libgcj.spec: No such file or directory).
Use synaptic to install libgcj6-dev.
Installing the GNU Fortran compilers
To install the GNU Fortran 77 compiler - g77, you need the g77
package.
To install the GNU Fortran 95 compiler - gfortran, the package is: gfortran
.
Installing the GNU autotools
To install autoconf and automake, you need the autoconf
and automake
packages.
Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, you need to specify the version, such as the automake1.9
package.
32-bit Builds on AMD64
The the GNU compilers have options that allow them to create 32-bit object and executable files on 64-bit operating systems, and vica versa. The critical options are -m32 (to build 32-bit) and -m64 (to build 64-bit). These options will be present when you install the compiler of your choice. However, they won't actually work unless you install several additional packages. The first thing you will need is the multilib package for the compiler you are using. For example, to add multilib support to the default version of g++ (4.1 in gutsy), you would install {g++-multilib}. For 4.2, you would need {g++-4.2-multilib}. The multilib packages are compiler runtime packages. Now, you need 32-bit (or 64-bit) versions of whatever libraries you need to link your application program. 64-bit packages have names that start with lib64. Install these on 32-bit systems to support 64-bit builds. 32-bit packages have names that start with lib32. Install these on 64-bit systems to support 32-bit builds. Whatever else you are doing, you will probably need {libNNgcc1}. If you are using g++, you will need {libNNstdc++6}.
Installing the Intel Compiler Suite Professional Edition 10.x
Using the Intel compilers for C, C++, and FORTRAN requires installing 32-bit libraries for Ubuntu if you are using a 64-bit system. Please ensure you have these packages:
gcc
,build-essential
,libc6-dev
(see above)ia32-libs
,g++-multilib
, andlibc6-dev-i386
(for 64-bit systems)- 32-bit packages starting with lib32 (for 64-bit systems)
alien
andrpm
for installing the RPM packages that Intel distributes.libstdc++5
andlibstdc++5-3.3-dev
for good measure because Intel's builds depend on these runtimes.
before you attempt installing the Intel Compiler Suite.
Get the License Number and Extract to a path without spaces
Ensure that you have obtained the license number for your installation and extracted the downloaded installation archive into a path that does not contain any spaces. This last statement is utterly important. The installer script that comes with the package has a bug that does not allow you to install the compiler suite if you have any spaces in the installer script path.
On 64-bit systems you may also need to issue these commands
# cd /usr/lib32 # ln -s libpthread.so libpthread.so.0 # ln -s libm.so libm.so.6 # ln -s libc.so libc.so.6 # ln -s libdl.so libdl.so.2
because the chklic_32_64 license checking utility from Intel dynamically links to these libraries. Once you're done preparing to install the compiler suite, it's time to go to the installer directory and install the compiler (be sure to also read through accompanying documentation; e.g., README, INSTALL.txt):
Run the Installation Script
$ cd /home/user/intel_compiler_suite $ sudo ./install.sh ...Follow the wizard as it guides you through the installation process.
After installing the compiler, you need to tell your shell the location of these executables by adding their parent paths to the PATH environment variable.
Edit /etc/bash.bashrc to add the installation path to the PATH environment variable
export PATH=/opt/intel/cc/10.1.012/bin:/opt/intel/idb/10.1.012/bin:${PATH}
Where 10.1.012 is the version of the compiler suite installed. For more information: Intel Compiler Suite 10.x support page for Ubuntu Linux