Creative Commons License
Drekendrop | Blog of Tutorial by Mei Pakpahan is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at drekendrop.blogspot.com.
Permissions beyond the scope of this license may be available at http://softdadesign.co.nr.

Tuesday, August 7, 2012

Autodock Tools (ADT) and Python Imaging Library (PIL) Installation on Ubuntu 32-bit

I was struggled installing this Autodock Tools on Ubuntu for days, because of the Python Imaging Library issues ("decoder jpeg not available|" and "decoder zip not available"). Ubuntu and all its stuff is actually quiet new to me since i've been working on Windows for ages.
Anyway, i wrote down the steps to solve my issues here:

1st step---
Before you're moving too far to install MGLTools, first it's better to figure out your Python Imaging Library (PIL) installation. If you have installed PIL then you need to :

sudo pip uninstall PIL
sudo apt-get install build-essential python-dev zlib1g-dev liblcms1-dev libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev

sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib
sudo ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib
sudo ln -s /usr/lib/i386-linux-gnu/libjpeg.so.62 /usr/lib

sudo pip install -U PIL

Now we're done with installing PIL. Next---
2nd step---
Download the MGLTools officially from here and install MGLTools by typing this instructions:

gunzip mgltools_i86Linux2_1.5.4.tar.gz
tar xvf mgltools_i86Linux2_1.5.4.tar

cd mgltools_i86Linux2_1.5.4
./install.sh

Just choose Non-commercial use for the license agreement then after it has been installed, try to call the Autodock Tools by:

/home/your_mgltools_directory/mgltools_i86Linux2_1.5.4/bin/adt

Mine works very well. :) Good luck!

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Grants For Single Moms