| 查看: 4104 | 回复: 0 | |||
syd89522木虫 (小有名气)
|
[求助]
如何在linux系统下安装VMD?
|
|
我下的是1.9.2的vmd版本,Linux系统为:Red Hat Enterprise Linux Server release 6.3,官网下载vmd解压后,vi README,内容如下: For quick installation of the binary distribution for Unix do the following: 1) Uncompress and untar the distribution into a working directory. In this working directory, there are several subdirectories such as bin, src, doc, data, as well as this README and a configure script. Change to this working directory after the unpacking is complete. 2) Edit the file 'configure'; change the values for the $install_library_dir and $install_bin_dir to a directory in which vmd data files and executables should be installed, be sure that you installing into a clean target directory and not overwriting an existing version of VMD (which would otherwise give problems): $install_bin_dir is the location of the startup script 'vmd'. It should be located in the path of users interested in running VMD. $install_library_dir is the location of all other VMD files. This included the binary and helper scripts. It should not be in the path. 3) A Makefile must be generated based on these configuration variables by running "./configure". 4) After configuration is complete, cd to the src directory, and type "make install". This will install VMD in the two directories listed above. Note that running "make install" twice will print error messages because you are attempting to overwrite some read-only files. Similarly, if you have incorrectly specified the target installation directories or attempt to overwrite an existing VMD installation, you will get error messages. 5) When installed, type 'vmd' to start (make sure the $install_bin_dir directory is in your path). 而在按照提示,vi configure文件后,我将路径改为如下两个:1. $install_bin_dir="/home/shaox/VMD" 替换原内容:$install_bin_dir="/usr/local/bin";2. $install_library_dir="/home/shaox/VMDFILE"替换原内容:$install_library_dir="/usr/local/lib/$install_name" 其他configure文件内容如下: #!/usr/bin/env perl # (C) Copyright 1995-2011 The Board of Trustees of the University of Illinois # All Rights Reserved # # Usage: configure [ optionlist ] (See full option description down below) # Perl 5.x must be in your path, and /usr/bin/env must exist in order # for this to work correctly. ############################################################################## # User modifiable installation parameters, can be overridden by env variables ############################################################################## # Name of shell script used to start program; this is the name used by users $install_name = "vmd"; # Directory where VMD startup script is installed, should be in users' paths. $install_bin_dir="/home/shaox/VMD"; # Directory where VMD files and executables are installed $install_library_dir="/home/shaox/VMDFILE"; # optionally override hard-coded defaults above with environment variables if ($ENV{VMDINSTALLNAME}) { $install_name = $ENV{VMDINSTALLNAME} } if ($ENV{VMDINSTALLBINDIR}) { $install_bin_dir = $ENV{VMDINSTALLBINDIR} } if ($ENV{VMDINSTALLLIBRARYDIR}) { $install_library_dir = $ENV{VMDINSTALLLIBRARYDIR} } 然后,输入bash ./configure 命令就会出现如下错误: ./configure: line 13: =: command not found ./configure: line 16: =/home/shaox/VMD: No such file or directory ./configure: line 19: =/home/shaox/VMDFILE: No such file or directory ./configure: line 23: syntax error near unexpected token `{' ./configure: line 23: `if ($ENV{VMDINSTALLNAME}) {' 请问这是怎么回事呢? 有没有VMD的详细安装步骤可以让我参考一下呢? |
» 猜你喜欢
有院领导为了换新车,用横向课题经费买了俩车
已经有8人回复
博士延得我,科研能力直往上蹿
已经有8人回复
酰胺脱乙酰基
已经有12人回复
同年申请2项不同项目,第1个项目里不写第2个项目的信息,可以吗
已经有4人回复
有时候真觉得大城市人没有县城人甚至个体户幸福
已经有10人回复
天津大学招2026.09的博士生,欢迎大家推荐交流(博导是本人)
已经有5人回复
CSC & MSCA 博洛尼亚大学能源材料课题组博士/博士后招生|MSCA经费充足、排名优
已经有6人回复
面上项目申报
已经有3人回复
遇见不省心的家人很难过
已经有22人回复














回复此楼