WinpdbDocs > InstallationDoc
Installation
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). Once wxPython is installed download the Winpdb installer and launch it.
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.
Avoiding Installation
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.
