The installation of LEMON is a somewhat tedious —although not particularly difficult— process, involving several dependencies for which there not exist Debian packages.
These are the steps to install LEMON on a fresh Debian 7 machine:
apt-get install git python-pip csh
apt-get build-dep python-matplotlib python-scipy
apt-get install openmpi-dev
easy_install -U distribute
git clone git://github.com/vterron/lemon.git ~/lemon
pip install "numpy>=1.7.1"
pip install -r pre-requirements.txt#
pip install -r requirements.txt#
- Install IRAF.
- Install SExtractor (version 2.19.5 or newer) 
- Install Astrometry.net.
- Install the MPI-enabled Montage binaries 
echo 'PATH=$PATH:~/lemon' >> ~/.bashrc
echo "source ~/lemon/lemon-completion.sh" >> ~/.bashrc
./run_tests.py— optional, although recommended!
Note that, starting from version 2.16, IRAF is now released under a free software license. There is, thus, reasonable hope that it may be packaged for drop-in installation on Debian-based systems in the near future. A similar effort is apparently underway for Astrometry.net. Until then, please bear with us.
|||The important thing to keep in mind is that SExtractor does not rely on the CLAPACK implementation of LAPACK — instead, it only uses the subset of the LAPACK functions available in ATLAS. That is the reason why, in case the |
cd ./sextractor-2.19.5 apt-get install fftw3-dev libatlas-base-dev update-alternatives --set liblapack.so /usr/lib/atlas-base/atlas/liblapack.so ./configure --with-atlas-incdir=/usr/include/atlas make make install
|||Edit these two lines in |
# uncomment the next two lines to build MPI modules # MPICC = mpicc # BINS = $(SBINS) $(MBINS)