What is MIRIAD? See http://bima.astro.umd.edu/miriad/ for information.

Edit : Tested on the Ubuntu 13.04 Raring Ringtail
Edit2 : Tested on the Ubuntu 13.10 Saucy Salamander

Edit3 : Tested on the Ubuntu 14.04 Trusty Tahr

I am not 100% sure about the prerequisites, it should work with the ones below, however (especially after installing IRAM GILDAS).

sudo apt-get install build-essential pgplot5 gfortran libreadline-dev libforms-bin csh cvs

Then go and grab the latest binary release from :

ftp://ftp.astro.umd.edu/progs/carma/miriad_201X.X/

NOTE: Got into catalog with highest number. At time of writing this is “2014.7”. Choose miriad_linux64_u14_gfortran.tar.gz for Ubuntu.

Unpack it where you want it to install:

tar zxf miriad_linux64_BINARY_gfortran.tar.gz

where “BINARY” is your Ubuntu version i.e.  miriad_linux64_u14_gfortran.tar.gz for Ubuntu 14.04.

Enter the catalog and run the “install script”:

cd miriad
install/make_miriad_starts

then to source the miriad binaries you have to run

source miriad_start.sh

from the miriad catalog, or add these lines to your hidden .bashrc/.bash_aliases file in your home-directory
(nano ~/.bashrc):

#source miriad environment variables
alias mirenv=”source /your_path/to_the_installation/directory/miriad_start.sh”

and to launch miriad type mirenv, followed by miriad (or your choice of miriad task) or just add (to the same file)

#source miriad environment variables
source /your_path/to_installation/miriad_start.sh

To have it accessible directly when you start a terminal.


EDIT: You can now update the installation at any time by running

mirupdate

(after sourcing “miriad_start.sh”) it will get all the updated files via CVS and recompile all binaries.