= Installing ASAP and dependencies from source = * '''Rpfits''' Download [http://www.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz rpfits] {{{ > tar zxvf rpfits.tar.gz; cd rpfits/linux (edit GNUMakefile and change RPFITSROOT if appropriate) > make install }}} * '''CASA''' (aips++) Download [http://www.atnf.csiro.au/pub/software/asap/casa_asap.tar.bz2 casa_asap] (or [http://www.atnf.csiro.au/pub/software/asap/casa_asap2.1.tar.bz2 casa_asap2.1]) {{{ > tar jxvf casa_asap.tar.bz2; cd casa_asap (read README and decide if you need to edit linux/UNKNOWN_SITE/makedefs) > sh build.sh }}} Depending on whether you use (t)csh {{{ > source aipsinit.csh }}} or bash {{{ > . aipsinit.sh }}} * ASAP Download [http://www.atnf.csiro.au/pub/software/asap/asap_src.tar.bz2 asap_src] {{{ > tar jxvf asap_src.tar.bz2; cd asap2.0 }}} You need to have the scons package installed (see o/s specific notes) {{{ > scons }}} Check if the module works. If the following statement returns without a message, all is good! {{{ > cd stage/asap; python -c "import _asap"; cd - }}} Install it to the default location: {{{ su scons install }}} * ASAP Data Download [http://www.atnf.csiro.au/pub/software/asap/asap_data.tar.bz2 asap_data] {{{ su cd /usr/lib/python2.3/site-packages/asap # May be in a differen location on your machine tar jxvf /asap_data.tar.bz2 }}} Now you can test it by executing: {{{ asap }}}