Personal tools
You are here: Home FAQs & Help FAQs
Document Actions

FAQs

View entire FAQ in full Up to table of contents
Frequently Asked Questions (& Answers!)

Installing AutoDock

How do I install AutoDock on Windows?

How do I install AutoDock, AutoGrid and ADT on Windows?

To run AutoDock on Windows, you must first download and install Cygwin, a Linux-like environment for Windows. Cygwin is available from http://www.cygwin.com. Follow the instructions for installing and setting up Cygwin from the Cygwin web site. There is also plenty of documentation about Cygwin.

ADT runs on Windows, out of the box.

Download the AutoGrid and AutoDock binaries for Cygwin: they are called autogrid4.exe and autodock4.exe (or autogrid3.exe and autodock3.exe, depending on which version you downloaded). For AutoDock 4, you will download a file called 'autodocksuite-4.2.1-i86Cygwin.tar.gz'; choose to "Save to Disk" if asked, and save it to your Desktop. Open a Cygwin terminal and type this:

      whoami

This will tell you what your username is. In the next command change YOUR_USERNAME to whatever whoami says your username is:

      cd /cygdrive/c/Documents\ and\ Settings/YOUR_USERNAME/Desktop

Now extract the files from the .tar.gz file:

      tar xvzf autodocksuite-4.0.1-i86Cygwin.tar.gz

These are in the directory bin/i86Cygwin. Copy the AutoGrid 4 and AutoDock 4 .exe files to the /usr/local/bin directory, by typing the following at the Cygwin terminal:

     cd i86Cygwin
     cp autodock4.exe /usr/local/bin
     cp autogrid4.exe /usr/local/bin

or for AutoGrid 3 and AutoDock 3:

     cp autodock3.exe /usr/local/bin
     cp autogrid3.exe /usr/local/bin

Now open a new Cygwin terminal, and type:

      which autodock4

or for AutoDock 3:

      which autodock3

This should find /usr/local/bin/autodock4 or /usr/local/bin/autodock3. You can now tell ADT to use AutoDock from /usr/local/bin/autodock3, and AutoGrid from /usr/local/bin/autogrid3.

This FAQ applies to: AutoDock 3, AutoDock 4

How do I install AutoDock on Linux and Mac OS X?

I've downloaded the tar.gz file containing the AutoDock and AutoGrid executables. How do I install them?

You should have downloaded a file with a name such as "autodocksuite-4.2.1-i86Linux2.tar.gz" for Linux, and "autodocksuite-4.2.1-i86Darwin8" or "autodocksuite-4.2.1-ppcDarwin8" for Mac OS X.

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):
cd <download-directory>

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.gz
This 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 i86Linux2
Now 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.
mv autogrid4 /usr/local/bin
mv autodock4 /usr/local/bin
Now every time you open a new shell or Terminal, you should now be able to run AutoGrid 4 and AutoDock 4.

This FAQ applies to: AutoDock 4

Problem with libstdc++.so.6 on Linux

What to do if you are getting "libstdc++.so.6: cannot open shared object file: No such file or directory" error message.

You'll need either to build autodock from source or install the missing library. Since libstdc++.so.6 comes preinstalled with the latest Linux systems, in this case, it would be better to build autodock from source.

See also: http://mgldev.scripps.edu/pipermail/autodock/2009-June/005997.html

by morris last modified 2007-07-19 17:31
Contributors: Ruth Huey, Garrett M. Morris
Copyright (C) The Scripps Research Institute, 2007-2009. All Rights Reserved.

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: