How do I install AutoDock on Linux and Mac OS X?Up to table of contents
This FAQ applies to: AutoDock 4
At the command line, change directory to the directory where you downloaded the file, <download-directory> (Note: you should substitute <download-directory> with the full path to where the downloaded file is):
Now let's extract the contents from the GNU-zipped tar file; in this example, we assume you have downloaded the Linux binaries:
tar xvzf autodocksuite-4.2.1-i86Linux2.tar.gzThis will create a new directory called "i86Linux2". In it, you will find two executables, called "autodock4" and "autogrid4". Let's change directory there first:
cd i86Linux2Now move the executables to the directory where you normally keep your binaries. On Linux and Mac OS X, this is often /usr/local/bin. The main thing is that this directory is in your path.
Note: you have to have administrative privileges to do it (either switching user to root or by using sudo).
mv autogrid4 /usr/local/binAs regular user (you have to type your user password):
mv autodock4 /usr/local/bin
sudo mv autogrid4 /usr/local/binNow every time you open a new shell or Terminal, you should now be able to run AutoGrid 4 and AutoDock 4.
sudo mv autodock4 /usr/local/bin