Monday, July 12, 2010

Installing the Pydasm and Pefile Module on Python and Ubuntu

Pydasm is included with the module libdasm. An open source fork is available at http://libdasm.googlecode.com/svn/trunk/ svn/libdasm-read-only and requires the use of the subversion tool. To install subversion use sudo apt-get install subversion.

Run the following command to download the latest libdasm code:
svn checkout http://libdasm.googlecode.com/svn/trunk/ svn/libdasm-read-only

Run the following series of commands to install the module on python:
cd svn/libdasm-read-only/
make
sudo make install
cd pydasm
sudo apt-get install python2.6-dev
python setup.py build_ext
sudo python setup.py install

Pefile is included in Ubuntu's repository, to install the pefile module run sudo apt-get install python-pefile.

No comments:

Post a Comment