For people who are new to the UNIX system, installing programs manually can be a daunting task. This was indeed the case for me anyway. I needed to install some molecular modeling softwares such as GROMACS and DOCK from UCSF, and I had a hard time doing so.
For GROMACS, it was a straight forward task, as it was available in the mint linux repository, and other important components for the installation was automatically added. It wasn't so for DOCK 6.1, because I needed to install it manually and prepare the prerequisites as well, and I had to go through many trial and errors.
After googling and looking into several forums, I finally got DOCK 6.1 to work on my virtual mint linux (installed in windows 7). The summary of the procedures that I did, from unpacking to installing DOCK is as follows:
tar -zxvf dock.6.1_source.tar.gz
--> input root password
In order to install the required compilers and other prerequisites, I needed to run apt-get. Unfortunately, because I am behind a campus proxy, I wasn't able to do it normally, so I had to find a way around it.
-->(in su mode)
apt-get install build-essential flex bison gfortran
--> change g77 to gfortran
--> go to the /usr/bin/ directory
ln -s gfortran g77
--> go to the dock6/install/ directory
--> in case of any "error: 'strlen' was not declared in this scope" errors, insert following lines in the mentioned .cpp files using a text editor:
--> Finish the DOCK installation
This did the trick for me, and thank God, I am now able to run docking simulations using DOCK with no hassle.