os:ubuntu 12.04 (64bit)
cpu: INTEL 560M
step 1\
hg clone http://www.octave.org/hg/octave
hg -v pull
proxychains hg -v update (因为googlecode被墙,需要用proxychains )
step 2\
sudo apt-get install libtool libssl-dev ncurses-dev libcurl4-openssl-dev build-essential automake libsigc++-2.0-dev gnuplot gtk2-engines-pixbuf bison libfontconfig-dev libqt4-core libqt4-dev libqt4-gui qt4-dev-tools
step 3\
cd octave;
sudo ./autogen.sh;
sudo ./configure --disable-gui ;
sudo make; 《==================== 目前卡在这一步上,巨慢,已经跑了40min+,忙里偷闲写个博客,嘿嘿
sudo make install;
[TEST]
run octave;
>> w = -6 + sqrt(10)*(randn(1,10000));
>> hist(w,50)

ref:-
http://wiki.octave.org/Octave_for_GNU/Linux
http://www.gnu.org/software/octave/doc/interpreter/Installation.html#Installation
http://www.linuxidc.com/Linux/2009-03/18726p2.htm
http://octave.1599824.n4.nabble.com/Problem-building-octave-td4642791.html
本文详细介绍了如何在Ubuntu 12.04环境下安装和配置Octave的过程,包括安装依赖包、使用proxychains解决访问问题、执行安装命令直至完成安装,最终通过简单的测试脚本验证安装成功。

3151

被折叠的 条评论
为什么被折叠?



