- 积分
- 1185
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-9-2
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2016-1-7 15:15:07
|
显示全部楼层
您看下这是我的安装目录
linuxwy@linuxwy-virtual-machine:~$ cd /usr/local
linuxwy@linuxwy-virtual-machine:/usr/local$ ll
总用量 44
drwxr-xr-x 11 root root 4096 1月 6 16:30 ./
drwxr-xr-x 12 root root 4096 1月 6 15:24 ../
drwxr-xr-x 2 root root 4096 10月 21 23:48 bin/
drwxr-xr-x 2 root root 4096 10月 21 23:48 etc/
drwxr-xr-x 2 root root 4096 10月 21 23:48 games/
drwxr-xr-x 2 root root 4096 10月 21 23:48 include/
drwxr-xr-x 5 root root 4096 10月 21 23:55 lib/
lrwxrwxrwx 1 root root 9 1月 5 17:23 man -> share/man/
drwxr-xr-x 5 root root 4096 1月 6 19:14 ncl/
drwxr-xr-x 2 root root 4096 10月 21 23:48 sbin/
drwxr-xr-x 8 root root 4096 10月 21 23:55 share/
drwxr-xr-x 2 root root 4096 10月 21 23:48 src/
linuxwy@linuxwy-virtual-machine:/usr/local$ cd ncl
linuxwy@linuxwy-virtual-machine:/usr/local/ncl$ ll
总用量 52
drwxr-xr-x 5 root root 4096 1月 6 19:14 ./
drwxr-xr-x 11 root root 4096 1月 6 16:30 ../
drwxr-xr-x 2 root root 4096 1月 6 17:18 bin/
-rw-r--r-- 1 root root 17046 1月 6 19:14 cpex08.f
-rw-r--r-- 1 root root 5566 1月 6 19:14 cpexcc.f
-rw-r--r-- 1 root root 3423 1月 6 20:47 gsun01n.ncl
drwxr-xr-x 3 root root 4096 1月 6 17:18 include/
drwxr-xr-x 3 root root 4096 1月 6 17:18 lib/
linuxwy@linuxwy-virtual-machine:/usr/local/ncl$
环境变量设置
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
#ncl
export NCARG_ROOT=/usr/local/ncl
export PATH=$NCARG_ROOT/bin:$PATH |
|