1. 程式人生 > >linux下gnuplot安裝方法

linux下gnuplot安裝方法

安裝
1.下載地址為http://sourceforge.net/projects/gnuplot/files/

    解壓 tar zxvf gnuplot-5.2.5.tar.gz
2.配置安裝路徑

       cd gnuplot-4.6.0

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

4.編譯

       make

5.安裝

       make install

6.配置環境變數

      vim .bashrc 

       export GNUPLOT=/public/software/gnuplot

       export PATH=/public/software/gnuplot/bin:$PATH

       export MANPATH=/public/software/gnuplot/share/man/man1:$MANPATH

7.啟用環境

       source  .bashrc