--- aliases: - /2012/12/ubuntu-ppa-for-healpix-and-healpy categories: - healpy - linux date: 2012-12-17 10:37 layout: post slug: ubuntu-ppa-for-healpix-and-healpy title: Ubuntu PPA for HEALPix and healpy ---
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