| 1 | 1/1 | 返回列表 |
| 查看: 4123 | 回復(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文件后,我將路徑改為如下兩個(gè):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 命令就會(huì)出現(xiàn)如下錯(cuò)誤: ./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}) {' 請(qǐng)問(wèn)這是怎么回事呢? 有沒有VMD的詳細(xì)安裝步驟可以讓我參考一下呢? |

| 1 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 材料科學(xué)與工程調(diào)劑 +9 | 深V宿舍吧 2026-03-30 | 10/500 |
|
|---|---|---|---|---|
|
[考研] 274求調(diào)劑 +4 | xiao愛同學(xué) 2026-03-30 | 4/200 |
|
|
[考研] 288資源與環(huán)境專碩求調(diào)劑,不限專業(yè),有學(xué)上就行 +11 | lllllos 2026-03-30 | 11/550 |
|
|
[考研]
|
鐘llll 2026-03-26 | 5/250 |
|
|
[考研] 085600,專業(yè)課化工原理,320分求調(diào)劑 +5 | 大饞小子 2026-03-29 | 5/250 |
|
|
[考研] 085600 材料與化工 329分求調(diào)劑 +18 | Mr. Z 2026-03-25 | 19/950 |
|
|
[考研] 317分 一志愿南理工材料工程 本科湖工大 求調(diào)劑 +12 | 芋泥小鈴鐺 2026-03-28 | 12/600 |
|
|
[考研] 332求調(diào)劑 +6 | @MZB382400 2026-03-28 | 6/300 |
|
|
[考研] 一志愿中南大學(xué)化學(xué)0703總分337求調(diào)劑 +6 | niko- 2026-03-27 | 6/300 |
|
|
[考研] 311求調(diào)劑 +6 | 冬十三 2026-03-24 | 6/300 |
|
|
[考研] 考研調(diào)劑 +7 | 小蠟新筆 2026-03-29 | 7/350 |
|
|
[考研] 一志愿北京理工大學(xué)本科211材料工程294求調(diào)劑 +8 | mikasa的圍巾 2026-03-28 | 8/400 |
|
|
[考研] 一志愿華理,數(shù)一英一285求A區(qū)調(diào)劑 +8 | AZMK 2026-03-25 | 12/600 |
|
|
[考研] 085602 化工專碩 338分 求調(diào)劑 +12 | 路癡小琪 2026-03-27 | 12/600 |
|
|
[考研] 322求調(diào)劑 +5 | 舊吢 2026-03-24 | 5/250 |
|
|
[考研] 藥學(xué)105500求調(diào)劑 +3 | Ssun。。 2026-03-28 | 3/150 |
|
|
[考研] 352分 化工與材料 +5 | 海納百川Ly 2026-03-27 | 5/250 |
|
|
[考研] 298調(diào)劑 +3 | jiyingjie123 2026-03-27 | 3/150 |
|
|
[考研] 一志愿吉大071010,316分求調(diào)劑 +3 | xgbiknn 2026-03-27 | 3/150 |
|
|
[考研] 340求調(diào)劑 +5 | 話梅糖111 2026-03-24 | 5/250 |
|