在Ubuntu16.04上安装juliapro 0.6.1.1时找不到gcc(实际上已经安装了gcc5.4)?

时间:2017-12-19 14:03:01

标签: ubuntu gcc julia

我想在Ubuntu 16.04上安装Juliapro 0.6.1,我下载juliapro,并根据官方指南,

1

sudo apt-get update sudo apt-get -y install gcc sudo apt-get -y install python2.7-dev sudo apt-get -y install libzmq5 sudo apt-get -y install hdf5-tools

sudo apt-get -y install default-jdk
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64

2

~ ./install_juliapro.sh JuliaPro-0.6.1.1_build-179.tgz ~/juliapro

3虽然显示:

 OS Detected: Ubuntu 16.04.3 LTS.
 Online Installation : Requires internet access Like: Ubuntu
 Checking pre-requisites

 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

 gcc is not installed. Please install gcc first !
 Installation terminated as dependencies are not met.

4实际上,我已经安装了gcc,然后输入

gcc

它返回:

/usr/bin/gcc

我无法解决这个问题,我不知道为什么。有人可以帮忙吗?非常感谢。

0 个答案:

没有答案