Linux源码安装octave5.2

坑太多,别百度,踩坑踩了大半天谷歌出结果
清华源下载:

https://mirrors.ustc.edu.cn/gnu/octave/octave-5.2.0.tar.xz

解压:

tar xvJf  node-v6.10.1-linux-x64.tar.xz

安装依赖包,不然会各种错误:

sudo apt install openjdk-8-jdk gcc g++ gfortran
libpcre3-dev libqhull-dev libbz2-dev libhdf5-dev libfftw3-dev libsndfile1-dev
libglpk-dev libcurl4-gnutls-dev libfreetype6-dev libgraphicsmagick1-dev libgraphicsmagick++1-dev
libparpack2 libncurses5-dev libreadline6-dev libsqlite3-dev tix-dev libssl-dev
gperf flex bison gnuplot libfltk1.3-dev libarpack++2-dev libqrupdate-dev
libosmesa6-dev libqscintilla2-qt5-dev libqscintilla2-dev qttools5-dev-tools qttools5-dev
libxft-dev libgl2ps-dev libgdbm-dev liblzma-dev libffi-dev libsundials-dev

然后

sudo ln -s /usr/lib/libqscintilla2_qt5.so /usr/lib/libqscintilla2-qt5.so

然后

	./configure
	make
	make install	

参考来源:
https://www.math.univ-paris13.fr/~cuvelier/Octave/Ubuntu_18-04LTS.html

你可能感兴趣的:(Linux源码安装octave5.2)