rpm包信息:
[hyf@localhost gnuplot]$ ls
gnuplot-4.6.2-3.el7.x86_64.rpm[/color]         gnuplotSH
gnuplot-common-4.6.2-3.el7.x86_64.rpm
[hyf@localhost gnuplot]$ su root安装命令:
[root@localhost gnuplot]# rpm -i --badreloc --relocate /usr=/home/hyf/gnuplot/gnuplot4.6 gnuplot-common-4.6.2-3.el7.x86_64.rpm 
警告:gnuplot-common-4.6.2-3.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f4a80eb5: NOKEY
[root@localhost gnuplot]# rpm -i --badreloc --relocate /usr=/home/hyf/gnuplot/gnuplot4.6 gnuplot-4.6.2-3.el7.x86_64.rpm 
警告:gnuplot-4.6.2-3.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f4a80eb5: NOKEY安装结果:
[root@localhost gnuplot4.6]# ls
bin  libexec  share运行命令:
[root@localhost bin]# export PATH=/home/hyf/gnuplot/gnuplot4.6/bin:$PATH
[root@localhost bin]# export LD_LIBRARY_PATH=/home/hyf/gnuplot/gnuplot4.6/libexec/:$LD_LIBRARY_PATH
[root@localhost gnuplot4.6]# gnuplot-wx 
G N U P L O T
Version 4.6 patchlevel 2    last modified 2013-03-14 
Build System: Linux x86_64
Copyright (C) 1986-1993, 1998, 2004, 2007-2013
Thomas Williams, Colin Kelley and many others
gnuplot home:     http://www.gnuplot.info
faq, bugs, etc:   type "help FAQ"
immediate help:   type "help"  (plot window: hit 'h')
Terminal type set to 'x11'
gnuplot> plot sin(x)报错信息:
Expected X11 driver: /usr/libexec/gnuplot/4.6/gnuplot_x11
Exec failed: No such file or directory
See 'help x11' for more details报错信息提示:对应路径下没有该文件gnuplot_x11
请问在这之前用export添加环境变量后是没有起到作用吗?
请帮忙给一下意见,谢谢