Installing SMA MIRIAD on Ubuntu (2014/05)

What is MIRIAD? See 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 :

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

then to source the miriad binaries you have to run


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/”

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/

To have it accessible directly when you start a terminal.

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


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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Raspberry Pi baby monitor – Hardware, part 1

Raspberry Pi baby monitor In this first of a multi-part post I will show my build of a Raspberry Pi…

Sync FitBit with Google Fit

Finally: sync FitBit and Google Fit at high time resolution! I have been trying to figure out a way to…

Monitor dependent setup in i3wm

Multiple configurations for different monitor setups in i3wm General Figure 1:¬†Anyone that recognize this image might find this "guide" useful!…

Installing IRAM GILDAS on Ubuntu

    Figure: Screenshot of GILDAS MAPPIN in action viewing an imported FITS spectral cube.Fore information on IRAM GILDAS, see…

%d bloggers like this: