wiki:ASAPFedoraInstall

Version 8 (modified by Malte Marquarding, 18 years ago) (diff)

--

Installing ASAP on Fedora

The supplied asap binary for does not work on Fedora Core 3 (and is unlikely to run on other flavors of Fedora). A Fedora binary version is being worked on.

When this is available you will need to install matplotlib from source (http://sourceforge.net/projects/matplotlib) and have the following packages installed:

  • cfitsio
  • blas
  • lapack
  • python
  • boost
  • tkinter
  • libf2c

The following packages are needed from the "dag" repository

  • python-numarray
  • ipython

From source

  • rpfits-2.9
       tar zxvf rpfits-2.9.tar.gz; cd rpfits/linux
       make
       cp librpfits.a /usr/local/lib/
       cp ../code/{RPFITS.h,rpfits.inc} /usr/local/include
    
  • casa_asap
       tar jxvf casa_asap.tar.bz2; cd casa_asap
       sh build.sh
    
    Depending on whether you use (t)csh
       source aipsinit.csh
    
    or bash
       . aipsinit.sh
    
  • asap_src
       tar jxvf asap_src.tar.bz2; cd asap2.0
       make
    
    Check if the module works. If the following statement returns without a message, all is good!
       python -c "import _asap"
    
    Install it to the default location
       make install
    
  • asap_data
       cd /usr/local/share/asap
       tar jxvf <download_directory>/asap_data.tar.bz2
    

Now you can test it.