Bureaucrats, cc_docs_admin, cc_staff
2,915
edits
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
<!--T:6--> | <!--T:6--> | ||
1. Download the 1.9.4 LATEST ALPHA tar file from [http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD http://www.ks.uiuc.edu/], | 1. Download the 1.9.4 LATEST ALPHA tar file from [http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD http://www.ks.uiuc.edu/], selecting the LINUX_64 version. Free registration is required. | ||
<!--T:7--> | <!--T:7--> | ||
Line 32: | Line 32: | ||
<!--T:8--> | <!--T:8--> | ||
3. Unpack the file | 3. Unpack the file: | ||
</translate> | |||
tar xvf vmd-1.9.4*.opengl.tar.gz | tar xvf vmd-1.9.4*.opengl.tar.gz | ||
<translate> | |||
<!--T:10--> | <!--T:10--> | ||
4. Enter the created directory | 4. Enter the newly-created directory: | ||
</translate> | |||
cd vmd-1.9.4* | cd vmd-1.9.4* | ||
<translate> | |||
<!--T:12--> | <!--T:12--> | ||
5. | 5. Create two new directories to receive the program files: | ||
</translate> | |||
mkdir ~/vmd_install | mkdir ~/vmd_install | ||
mkdir ~/vmd_library | mkdir ~/vmd_library | ||
<translate> | |||
<!--T:13--> | <!--T:13--> | ||
5. Edit the <code>configure</code> file to read as follows, replacing each instance of <code>your_user_name</code> with your actual user name: | |||
</translate> | |||
# Directory where VMD startup script is installed, should be in users' paths. | # Directory where VMD startup script is installed, should be in users' paths. | ||
$install_bin_dir="/home/your_user_name/vmd_install"; | $install_bin_dir="/home/your_user_name/vmd_install"; | ||
# Directory where VMD files and executables are installed | |||
# Directory where VMD files and executables are installed | |||
$install_library_dir="/home/your_user_name/vmd_library"; | $install_library_dir="/home/your_user_name/vmd_library"; | ||
<translate> | |||
< | |||
<!--T:17--> | <!--T:17--> | ||
6. Run <code>configure</code> and <code>make</code>: | |||
</translate> | |||
./configure | ./configure | ||
cd src | cd src | ||
make install | make install | ||
<translate> | |||
<!--T:19--> | <!--T:19--> | ||
7. Add the resulting executable to your path: | |||
</translate> | |||
export PATH=~/vmd_install:$PATH | export PATH=~/vmd_install:$PATH | ||
<translate> | |||
<!--T:25--> | <!--T:25--> | ||
8. Use <code>setrpaths.sh</code> to modify the VMD executables so they use libraries from CVMFS: | |||
</translate> | |||
cd ~/vmd_library/ | |||
cd vmd_library/ | |||
setrpaths.sh --path . | setrpaths.sh --path . | ||
<translate> | |||
<!--T:20--> | <!--T:20--> | ||
If getting a blank window | If you are using a Mac and getting a blank window, try running this: | ||
</translate> | </translate> | ||
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true | |||
== Installing plugins == | == Installing plugins == |