| 1 | 1/1 | 返回列表 |
| 查看: 4117 | 回復(fù): 0 | ||
syd89522木蟲 (小有名氣)
|
[求助]
如何在linux系統(tǒng)下安裝VMD?
|
|
我下的是1.9.2的vmd版本,Linux系統(tǒng)為:Red Hat Enterprise Linux Server release 6.3,官網(wǎng)下載vmd解壓后,vi README,內(nèi)容如下: 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" 替換原內(nèi)容:$install_bin_dir="/usr/local/bin";2. $install_library_dir="/home/shaox/VMDFILE"替換原內(nèi)容:$install_library_dir="/usr/local/lib/$install_name" 其他configure文件內(nèi)容如下: #!/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 命令就會出現(xiàn)如下錯誤: ./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的詳細(xì)安裝步驟可以讓我參考一下呢? |

| 1 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 311求調(diào)劑 +4 | 冬十三 2026-03-18 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 材料專業(yè)求調(diào)劑 +5 | hanamiko 2026-03-18 | 5/250 |
|
|
[考研] 【同濟(jì)軟件】軟件(085405)考研求調(diào)劑 +3 | 2026eternal 2026-03-18 | 3/150 |
|
|
[考研] 295求調(diào)劑 +3 | 一志愿京區(qū)211 2026-03-18 | 5/250 |
|
|
[考研] 298-一志愿中國農(nóng)業(yè)大學(xué)-求調(diào)劑 +7 | 手機(jī)用戶 2026-03-17 | 7/350 |
|
|
[考研] 一志愿西南交大,求調(diào)劑 +4 | 材化逐夢人 2026-03-18 | 4/200 |
|
|
[考研] 278求調(diào)劑 +5 | 煙火先于春 2026-03-17 | 5/250 |
|
|
[考博] 26博士申請 +3 | 1042136743 2026-03-17 | 3/150 |
|
|
[碩博家園] 湖北工業(yè)大學(xué) 生命科學(xué)與健康學(xué)院-課題組招收2026級食品/生物方向碩士 +3 | 1喜春8 2026-03-17 | 5/250 |
|
|
[考研] 326求調(diào)劑 +4 | 諾貝爾化學(xué)獎覬?/a> 2026-03-15 | 7/350 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-14 | 3/150 |
|
|
[考研] 0703化學(xué)調(diào)劑 290分有科研經(jīng)歷,論文在投 +7 | 膩膩gk 2026-03-14 | 7/350 |
|
|
[考研] 326求調(diào)劑 +3 | mlpqaz03 2026-03-15 | 3/150 |
|
|
[考博] 東華理工大學(xué)化材專業(yè)26屆碩士博士申請 +6 | zlingli 2026-03-13 | 6/300 |
|
|
[考研] 288求調(diào)劑 +4 | 奇點0314 2026-03-14 | 4/200 |
|
|
[考研] 255求調(diào)劑 +3 | 李嘉慧, 2026-03-12 | 4/200 |
|
|
[考研] 311求調(diào)劑 +3 | 冬十三 2026-03-13 | 3/150 |
|
|
[考研] 295求調(diào)劑 +3 | 小匕仔汁 2026-03-12 | 3/150 |
|
|
[考研] 274求調(diào)劑 +3 | S.H1 2026-03-12 | 3/150 |
|
|
[考研] 材料301分求調(diào)劑 +5 | Liyouyumairs 2026-03-12 | 5/250 |
|