Chinaunix首页 | 论坛 | 博客
  • 博客访问: 535566
  • 博文数量: 51
  • 博客积分: 8000
  • 博客等级: 中将
  • 技术积分: 1040
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-28 17:26
文章分类

全部博文(51)

文章存档

2011年(1)

2010年(20)

2009年(27)

2008年(3)

我的朋友

分类: LINUX

2009-06-17 10:15:38

Step 1:
Download a binary distribution. The file name has the form smv.version.arch.tar.gz, where "arch" is your processor architecture and operating system.

Step 2:
Create a new directory for smv. We'll assume this dirctory is /usr/local/smv, but you can make it wherever you want. Don't try to put smv in a directory with anything else.

Step 3:
Unpack the smv distribution with a shell command like the following (using, of course, the name of the file you downloaded, and the directory you created):

cp smv.MM-DD-YY.unknown_Linux_2.0.34.tar.gz /usr/local/smv/
cd /usr/local/smv/
tar -zxvf smv.MM-DD-YY.unknown_Linux_2.0.34.tar.gz

Step 4:
Very important: Put /usr/local/smv/bin in your PATH variable, /usr/local/smv/man in your MANPATH variable, and /usr/local/smv/lib in your LD_LIBRARY_PATH variable. For example, if you use csh, put the following at the end of your .cshrc file:

gedit /home/user/.bashrc

add the commend:

export SMV_DIR="/usr/local/smv"
export PATH="$SMV_DIR/bin:$PATH"
export MANPATH="$SMV_DIR/man:$MANPATH"
export LD_LIBRARY_PATH="$SMV_DIR/lib:$LD_LIBRARY_PATH"

Step 5:
See the following man pages:

    * smv (the command line version of smv)
    * vw (the GUI version of smv)

Or, to get started, run the tutorial by using the command "smv_tutorial". To run the tutorial, you need "netscape" in your PATH.
阅读(1262) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~