美文网首页
gnuplot安装

gnuplot安装

作者: 御龙文刀 | 来源:发表于2016-12-20 11:27 被阅读292次

1.下载gnuplot

wget https://nchc.dl.sourceforge.net/project/gnuplot/gnuplot/5.0.5/gnuplot-5.0.5.tar.gz

2.解压文件

tar -zxvf gnuplot-5.0.5.tar.gz

3.配置安装路径

cd gnuplot-5.0.5

./configure --prefix=/usr/local/gnuplot

4.编译

make

5.安装

make install

6.配置环境变量,编译/etc/profile.d/gnuplot.sh内容如下:

vim /etc/profile.d/gnuplot.sh
export GNUPLOT=/usr/local/gnuplot
export PATH=/usr/local/gnuplot/bin:$PATH
export MANPATH=/usr/local/gnuplot/share/man/man1:$MANPATH

7.启用环境

source /etc/profile.d/gnuplot.sh

相关文章

网友评论

      本文标题:gnuplot安装

      本文链接:https://www.haomeiwen.com/subject/gtbxvttx.html