Winpdb for GNU/Linux
To use Winpdb in GNU/Linux you need to install wxPython 2.6 or later. Most distributions include wxPython as a package named python-wxgtk. Use your distribution’s package manager (e.g. synaptic, aptitude or yum) to find and install it.
Download the Winpdb source package and extract it’s content into a new folder. Enter the new folder from a terminal window and type: sudo python setup.py install -f
Alternatively use a terminal with admin privileges and type: python setup.py install -f
Winpdb for Windows
To use Winpdb in Windows you need to install the wxPython runtime (The unicode version is preferred).
Download the Winpdb source package and extract it’s content into a new folder. Enter the new folder from a CMD terminal window and type: python.exe setup.py install
python.exe should be in your path or you need to specify full path to the interpreter in the command above.
Setup Script Failure
On some GNU/Linux distributions such as Mandriva 10.2, the setup script may fail. This is probably because the default Python installation on such systems does not allow installation of source packages.
You can use Winpdb and rpdb2 without installing them. Instead, run them directly from the source package. rpdb2.py is actually debugger in a single file. This is useful when debugging a script on a remote server. Simply copy the rpdb2.py debugger to the remote directory and you are ready to go.