1. 程式人生 > >Ubuntu 下安裝octave 4.0.3

Ubuntu 下安裝octave 4.0.3

上了Andrew Ng 的 ML,用在ubuntu 15.10下使用octave 4.0.0,提交作業(submit)時會出現

	Submission failed: unexpected error: urlread: HTTP response code said error

Discussion 裡面的解決辦法是修改submitWithConfiguration.m的第66行,但是修改後出現了新的bug,果斷放棄使用4.0.0,但ubuntu軟體中心只有4.0.0,所以選擇手動編譯octave 4.0.3。

之後在Shell中按順序輸入如下命令:

sudo apt-get build-dep octave
tar xzf octave-4.0.3.tar.gz
cd octave-4.0.3
./configure
make
sudo make install


安裝完成後即可成功提交作業。