今天在做作业的时候,发现imread不能使用,说要安装相应的图形包,可是要安装image时,却发现要求4.0.0版本,而我本机的linux系统ubuntu15.04只有3.8.x的安装源,没办法,只能自己动手编译、安装啦。
sudo apt-get build-dep octave
sudo apt-get install libportaudio-dev libqt4-opengl-dev #for gui
#sudo apt-get install libqt4-dev libqscintilla2-dev #for gui, (unnecessary for Ubuntu)
#sudo apt-get install llvm #for jit
sudo apt-get install bison wget https://ftp.gnu.org/gnu/octave/octave-4.0.0.tar.gz tar xzf octave-4.0..tar.gz cd octave-4.0. ./configure
#./configure --enable-jit make make check sudo make install