ubuntu下gnuplot的安装步骤详解
2011-05-14 20:26
1151 查看
一、先执行sudo apt-get install libx11-dev 安装x11,否则不能显示图形!
若不安装,则会出现,在gnuplot,在终端下输入gnuplot后显示terminal set to unknown ,我参看了一下下面的帖子
http://forum.ubuntu.org.cn/viewtopic.php?p=512020&sid=3a8e8af71f1c2e35949157c35eb27b85
ubuntuzhao说由于x11的library没装的缘故,我已经就此事询问了ubuntuzhao,但现在急,请各位高手都帮帮忙,另外,我用help terminal查看了一下,并没有X11中端,甚至连png都没有,全部如下:
aed512 aed767 aifm bitgraph
cgm corel dumb dxf
eepic emf emtex epslatex
epson-180dpi epson-60dpi epson-lx800 fig
gpic hp2623a hp2648 hp500c
hpdj hpgl hpljii hppj
imagen kc-tek40xx km-tek40xx latex
mf mif mp nec-cp6
okidata pbm pcl5 pop
postscript pslatex pstex pstricks
push qms regis selanar
starc svg tandy-60dpi tek40xx
tek410x texdraw tgif tkcanvas
tpic vttek
并且我把中端设置成png,返回如下:
set terminal png
^
unknown or ambiguous terminal type; type just 'set terminal' for a list
设置成tgif后,输出一个gif文件,却打不开。请各位高手指点一下,最好把解决问题的方法说的详细一点。例如如何下载X11的library,下载完如何配置gnuplot,麻烦了各位高手,急用
主要是ubuntu安装文件不全吧
二、安装gnuplot
1. su root
2. cd /usr/local/src
1.下载gnuplot(版本4.4.0)
wget http://nchc.dl.sourceforge.net/project/gnuplot/gnuplot/4.4.0/gnuplot-4.4.0.tar.gz 2.解压文件
tar -zxvf gnuplot-4.4.0.tar.gz
3.配置安装路径
cd gnuplot-4.4.0
./configure
4.编译
make
5.安装
make install
然后找个例子,一切 ok!
若不安装,则会出现,在gnuplot,在终端下输入gnuplot后显示terminal set to unknown ,我参看了一下下面的帖子
http://forum.ubuntu.org.cn/viewtopic.php?p=512020&sid=3a8e8af71f1c2e35949157c35eb27b85
ubuntuzhao说由于x11的library没装的缘故,我已经就此事询问了ubuntuzhao,但现在急,请各位高手都帮帮忙,另外,我用help terminal查看了一下,并没有X11中端,甚至连png都没有,全部如下:
aed512 aed767 aifm bitgraph
cgm corel dumb dxf
eepic emf emtex epslatex
epson-180dpi epson-60dpi epson-lx800 fig
gpic hp2623a hp2648 hp500c
hpdj hpgl hpljii hppj
imagen kc-tek40xx km-tek40xx latex
mf mif mp nec-cp6
okidata pbm pcl5 pop
postscript pslatex pstex pstricks
push qms regis selanar
starc svg tandy-60dpi tek40xx
tek410x texdraw tgif tkcanvas
tpic vttek
并且我把中端设置成png,返回如下:
set terminal png
^
unknown or ambiguous terminal type; type just 'set terminal' for a list
设置成tgif后,输出一个gif文件,却打不开。请各位高手指点一下,最好把解决问题的方法说的详细一点。例如如何下载X11的library,下载完如何配置gnuplot,麻烦了各位高手,急用
主要是ubuntu安装文件不全吧
二、安装gnuplot
1. su root
2. cd /usr/local/src
1.下载gnuplot(版本4.4.0)
wget http://nchc.dl.sourceforge.net/project/gnuplot/gnuplot/4.4.0/gnuplot-4.4.0.tar.gz 2.解压文件
tar -zxvf gnuplot-4.4.0.tar.gz
3.配置安装路径
cd gnuplot-4.4.0
./configure
4.编译
make
5.安装
make install
然后找个例子,一切 ok!
相关文章推荐
- Ubuntu安装JDK及环境变量配置步骤详解
- Ubuntu14.04下Neo4j图数据库官网安装部署步骤(图文详解)(博主推荐)
- Win7下U盘安装Ubuntu14.04双系统步骤详解
- 0037Win7下U盘安装Ubuntu14.04双系统步骤详解
- Ubuntu下boost库的编译安装步骤及卸载方法详解
- Ubuntu16.04下Mongodb(离线安装方式|非apt-get)安装部署步骤(图文详解)
- Win7下U盘安装Ubuntu14.04双系统步骤详解 | 浏览:42144 | 更新:2014-05-24 18:09 | 标
- Ubuntu16.04下安装python3.6详细步骤及anaconda安装详解
- Ubuntu 17.04系统下源码编译安装opencv的步骤详解
- Ubuntu16.04下Mongodb官网安装部署步骤(图文详解)(博主推荐)
- Ubuntu14.04下Mongodb(在线安装方式|apt-get)安装部署步骤(图文详解)(博主推荐)
- Ubuntu11.10 带图形安装步骤详解
- qemu的安装步骤详解(适合ubuntu和windows)
- Win7下U盘安装Ubuntu14.04双系统步骤详解
- Ubuntu14.04下Mongodb官网安装部署步骤(图文详解)(博主推荐)
- Win7下U盘安装Ubuntu14.04双系统步骤详解
- 详解Ubuntu下Mysql的安装配置步骤
- qemu的安装步骤详解(适合ubuntu和windows)
- 怎么用U盘安装ubuntu系统具体步骤图文详解
- ubuntu16.04安装MATLAB R2017b步骤详解(附完整破解文件包)