新聞中心
安裝Intel C Compiler是一件非常簡單的事情,本文將指導(dǎo)linux系統(tǒng)下如何快速安裝Intel C Compiler。

創(chuàng)新互聯(lián)是一家專注于成都網(wǎng)站制作、成都做網(wǎng)站、外貿(mào)營銷網(wǎng)站建設(shè)與策劃設(shè)計,南雄網(wǎng)站建設(shè)哪家好?創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設(shè)十年,網(wǎng)設(shè)計領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:南雄等地區(qū)。南雄做網(wǎng)站價格咨詢:13518219792
首先確認(rèn)Linux平臺的發(fā)行版本:
“`shell
lsb_release -a
安裝Intel C Compiler之前,我們先需要安裝gcc和gfortran編譯器:
```shell
sudo apt update
sudo apt install build-essential
sudo apt install gcc gfortran
然后下載Intel C Compiler:
從[官網(wǎng)](https://software.intel.com/en-us/c-compilers)下載合適的版本,目前最新版為Intel C Compiler(icc) 2019 Update 5. 下載完成后,使用tar命令來解壓安裝:
“`shell
tar xvzf l_icc_p_19.0.5.281.tar.gz
使用以下命令安裝Intel C Compiler:
```shell
sudo ./install.sh --silent
安裝過程中可以自行選擇安裝路徑,也可以默認(rèn)該路徑。
安裝完成后,為了使Intel C Compiler可以支持各個用戶:
“`shell
sudo ./install.sh –user-all
完成Intel C Compiler的安裝,接下來手動配置環(huán)境變量:
```shell
export PATH=/opt/intel/cc/19.0.5.281/bin:$PATH
export LD_LIBRARY_PATH=/opt/intel/cc/19.0.5.281/lib:$LD_LIBRARY_PATH
最后使用如下命令驗證成功安裝Intel C Compiler:
“`shell
icpc -v
Intel C Compiler是一個非常優(yōu)秀的C/C++語言編譯器,使用起來非常高效。通過本文,我們講解完成Linux系統(tǒng)下如何快速安裝Intel C Compiler的步驟,安裝之后可以快速滿足開發(fā)、調(diào)試的需求。
成都網(wǎng)站建設(shè)選創(chuàng)新互聯(lián)(?:028-86922220),專業(yè)從事成都網(wǎng)站制作設(shè)計,高端小程序APP定制開發(fā),成都網(wǎng)絡(luò)營銷推廣等一站式服務(wù)。
新聞標(biāo)題:linux下安裝IntelCCompiler的指南(linux安裝icc)
轉(zhuǎn)載源于:http://m.fisionsoft.com.cn/article/djijisj.html


咨詢
建站咨詢
