| 50 | |
| 51 | |
| 52 | === Install rpfits === |
| 53 | {{{ |
| 54 | wget ftp://ftp.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz |
| 55 | tar zxf rpfits.tar.gz |
| 56 | cd rpfits/linux |
| 57 | # edit GNUMakefile to use gfortran |
| 58 | perl -pi.bak -e 's/^FC.*$//; s/^FFLAGS.*$//; s/# (FC.*)$/\1/;s/# (FFLAGS.*)$/\1/;s/(LDFLAGS\s+:=).*$/\1 -lgfortran/' GNUmakefile |
| 59 | sudo make install |
| 60 | }}} |
| 61 | |
| 62 | === Install wcslib === |
| 63 | {{{ |
| 64 | wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.gz |
| 65 | tar zxf wcslib.tar.gz |
| 66 | cd wcslib-4.3.2 |
| 67 | ./configure |
| 68 | make |
| 69 | sudo make install |
| 70 | }}} |
| 71 | |
| 72 | === Install casacore === |
| 73 | |
| 74 | {{{ |
| 75 | wget http://casacore.googlecode.com/files/casacore-0.4.1.tar.bz2 |
| 76 | tar jxf casacore-0.4.1.tar.bz2 |
| 77 | cd casacore-0.4.1 |
| 78 | ./batchbuild.py blaslibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio |
| 79 | sudo ./batchbuild.py install prefix=/usr/local |
| 80 | }}} |
| 81 | |
| 82 | === Install asap === |
| 83 | |
| 84 | {{{ |
| 85 | wget ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap2.3.0-src.tar.bz2 |
| 86 | tar zxf asap2.3.0-src.tar.bz2 |
| 87 | cd asap2.3.0 |
| 88 | scons lapacklibdir==/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio |
| 89 | sudo scons install |
| 90 | }}} |
| 91 | |