Difference between revisions of "Linux Install"

From PyMOLWiki
Jump to navigation Jump to search
 
Line 17: Line 17:
 
===Compiling By Hand===
 
===Compiling By Hand===
 
Copy the appropriate setup/Rules.XXX file to the base PyMol dir.  You'll have to edit the file for your system.  Then run 'make'.
 
Copy the appropriate setup/Rules.XXX file to the base PyMol dir.  You'll have to edit the file for your system.  Then run 'make'.
 +
 +
[[Category:Installation|Linux Installation]]

Revision as of 12:18, 6 May 2005

Installing PyMol is quite straightforward.

RPM

Download the appropriate RPM and use 'rpm' to install it. Typically,

rpm -Uvh rpmFileName.rpm

From Source

DistUtils

assuming you already have your PyMol source tree untar'ed simply do:

 python setup.py build
 python setup.py install  # need to be root, here
 python setup2.py 
 sudo cp ./pymol.com /usr/local/bin/pymol.com # cp the executable to /usr/local/bin

Now you can run PyMol from anywhere by issuing the command:

pymol.com

Compiling By Hand

Copy the appropriate setup/Rules.XXX file to the base PyMol dir. You'll have to edit the file for your system. Then run 'make'.