Tutorial: Installation VMD on LINUX_64
0
gravatar for Hassan Rasouli
3.4 years ago by
Kermanshah University of Medical science
Hassan Rasouli10 wrote:

For installation following the steps below: Download it from (http://www.ks.uiuc.edu/Research/vmd/) Then in the terminal type:

 cd Downloads
  tar -zxvf vmd-1.9.1.bin.LINUXAMD64.opengl.tar.gz

This will extract the folder to your downloads folder. You can then just

cd vmd-1.9.1

./configure LINUXAMD64

cd src

sudo make install

Then type your password. The 'sudo' command tells your computer that you request to be allowed the permission to install the program into your computers default directory (e.g. /usr/local) when you run the next set of commands from the terminal. Don't worry the install will find its way to the right place. You don't actually need to edit as the ReadMe file implies,

To test:

vmd

Or to run with a trajectory file:

vmd myFile.xyz

NOTE: If you do not have administrative rights (i.e. you cannot use the 'su' or 'sudo' commands on your computer, then expect to see an error like:

 mkdir: cannot create directory ‘/usr/local/lib/vmd’: Permission denied
 mkdir: cannot create directory ‘/usr/local/lib/vmd’: Permission denied
 make: *** [install] Error 1

To fix this then the only thing you need do is create a folder and call it 'install' then in that folder create another folder called 'lib64' and then change the command:

 ./configure LINUXAMD64

To

./configure --prefix=/path/to/home/install --libdir=/path/to/home/install/lib64 LINUXAMD64
ADD COMMENTlink modified 3.4 years ago by Michael Dondrup46k • written 3.4 years ago by Hassan Rasouli10

Note, there is no need to run more commands as root than absolutely required, like install, in particular no proper sysadmin will run configure by sudo. Also, if you followed the steps including su, you would silently run any following command as root.

ADD REPLYlink modified 3.4 years ago • written 3.4 years ago by Michael Dondrup46k

thank you for your mention. I was using it for installing VMD in my project. but you are right I fully agree with you.

ADD REPLYlink written 3.4 years ago by Hassan Rasouli10

I followed the above mentioned commands to download and install vmd on my ubuntu 16.04 OS and it showed following result chmod +x run_vmd_tmp ; \ cp run_vmd_tmp "/usr/local/bin"/vmd ; \ rm -f run_vmd_tmp echo Make sure "/usr/local/bin"/vmd is in your path. Make sure /usr/local/bin/vmd is in your path. echo "VMD installation complete. Enjoy!" VMD installation complete. Enjoy!

BUT WHEN I TRIED TO CHECK IF IT IS INSTALLED I GOT ERROR MESSAGE AS user@user-300E4C-300E5C-300E7C:~$ vmd rlwrap: Command not found. /usr/local/lib/vmd/vmd_LINUXAMD64: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

PLEASE HELP,

ADD REPLYlink written 2.4 years ago by naijuthomas1000
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 765 users visited in the last hour