Tuesday, November 6, 2007

Installing pssh under home without root access

Quick steps to install pssh from source under your home directory
without source rights:

Get the file with the python tools setup:
wget 'http://peak.telecommunity.com/dist/ez_setup.py'

Create a local directory for python tools:
mkdir ~/tools
python ez_setup.py --install-dir="/home/gautam/tools/"
ADD TO .bashrc: export PYTHONPATH=/home/gautam/tools/
python setup.py install
ADD TO .bashrc: export PATH=$PATH:/home/gautam/pssh-1.3.1/bin/

Throws the warning:
error: No urls, filenames, or requirements specified (see --help)

But everything seems to be working fine


Post a Comment