HEALPix C, C++ version 3.00 and healpy version 1.4.1 are now available in a PPA repository for Ubuntu 12.04 Precise and Ubuntu 12.10 Quantal.

First remove your previous version of healpy , just find the location of the package:

> python -c “import healpy; print healpy.file

and remove it:

> sudo rm -r /some-base-path/site-packages/healpy*


Then add the apt repository and install the packages:


> sudo add-apt-repository ppa:zonca/healpix
> sudo apt-get update
> sudo apt-get install healpix-cxx libhealpix-cxx-dev libchealpix0 libchealpix-dev python-healpy

> which anafast_cxx
/usr/bin/anafast_cxx

> python -c "import healpy; print healpy.__version__"

1.4.1