如何在 64 位 Ubuntu 系统上安装一个简单的 Intel C/C++ 编译器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19687111/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to install a simple Intel C/C++ compiler on a 64-bit Ubuntu system?
提问by xeex
I need to compile c/c++ code, by running a build.sh file. The instruction on the program (that i want to run) says it needs to be compiled by a Intel's compiler. After searching on the net I came across information on what to do. Some people said that we must install first a 32-bit libraries: https://help.ubuntu.com/community/InstallingCompilers
我需要通过运行 build.sh 文件来编译 c/c++ 代码。程序上的指令(我想运行)说它需要由英特尔的编译器编译。在网上搜索后,我遇到了有关该做什么的信息。有人说要先安装一个32位的库:https: //help.ubuntu.com/community/InstallingCompilers
Others said that we must, first of any installation, change some things: http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu
其他人说我们必须首先在任何安装中更改一些东西:http: //software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu
In the other hand, Intel's page show many suites: http://software.intel.com/en-us/c-compilers
另一方面,英特尔的页面显示了许多套件:http: //software.intel.com/en-us/c-compilers
while the only thing that I want is simply Intel's C/C++ compiler.
而我唯一想要的只是英特尔的 C/C++ 编译器。
Can somebody be so gentle to give me the directions on how to install a Intel's compiler on a 64-bit Ubuntu system?
有人能这么温柔地给我指导如何在 64 位 Ubuntu 系统上安装英特尔的编译器吗?
Thanks in advance.
提前致谢。
回答by SHR
for non commercial use you can download it from Intel
对于非商业用途,您可以从英特尔下载
EDIT:
编辑:
the Intel? System Studio 2016includes a c++ compiler.
在英特尔?System Studio 2016包含一个 c++ 编译器。
回答by The Mask
I've tried the 32-bit version of it, the non-commecial one. I don't think it differ from the 32-bit on basic stuff related to installation. Open thisand go to compilers and librariessection and you will see the C/C++ compiler. After download it read the files in doc
folder; it includes how to install/use/get a key to compiler etc.
我试过它的 32 位版本,非商业版本。我认为它与 32 位在与安装相关的基本内容上没有区别。打开它并转到编译器和库部分,您将看到 C/C++ 编译器。下载后读取文件doc
夹中的文件;它包括如何安装/使用/获取编译器的密钥等。
回答by mvb13
You need to install gcc compiler through apt-get install gcc
Look on example here: Install GCC
您需要通过apt-get install gcc
查看示例来安装 gcc 编译器:安装 GCC