Installing Miriad

From Andrew Walsh, a script to install MIRIAD:

wget ftp://ftp.atnf.csiro.au/pub/software/miriad/miriad-common.tar.bz2
wget ftp://ftp.atnf.csiro.au/pub/software/miriad/miriad-linux64.tar.bz2
bzcat miriad-common.tar.bz2 | tar xvf -
bzcat miriad-linux64.tar.bz2  | tar xvf -
cd miriad
export MIR=$PWD
# define the MIR variable in your bashrc
echo "export MIR=$MIR" >> ~/.bashrc
sed -e "s,@MIRROOT@,$MIR," scripts/MIRRC.in > MIRRC
sed -e "s,@MIRROOT@,$MIR," scripts/MIRRC.sh.in > MIRRC.sh
chmod 644 MIRRC*

# Put these into .bashrc, or call them each time you want to run MIRIAD
. $MIR/MIRRC.sh
export PATH=$PATH:$MIRBIN

Comments