To install pgdedupe, run this command in your terminal:
$ pip install numpy && pip install pgdedupe
This is the preferred method to install pgdedupe, as it will always install the most recent stable release. Note that numpy is currently a pre-requisite for the installation process itself.
The sources for pgdedupe can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/dssg/pgdedupe
Or download the tarball:
$ curl -OL https://github.com/dssg/pgdedupe/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install