The simplest install method is to use pip:

$ sudo pip install doublex

Or you can download the last release tarball, available in the PyPI project:

$ gunzip doublex-X.X.tar.gz
$ tar xvf doublex-X.X.tar
$ cd doublex-X.X/

To install:

$ sudo python install

Or use pip:

$ sudo pip install doubles-X.X.tar.gz


doublex depends on PyHamcrest, but if you use pip it is automatically installed too.

Also it is available as Debian and Ubuntu official packages, although may be outdated:

$ sudo apt-get install python-doublex