This is a bash script intended to install ATNF's Miriad radio interferometry data reduction package (https://www.atnf.csiro.au/computing/software/miriad/), Duchamp source finder (https://www.atnf.csiro.au/people/Matthew.Whiting/Duchamp/), and Karma (https://www.atnf.csiro.au/computing/software/karma/) along with their pre-requisites.
- Sudo access is required as the softwares will be installed in the
/usr/local
folder. Therefore, this is only suitable for personal machines. You may try to modify the INSTALLDIR variable, but do so at your own risk. - Internet access is required to download the source codes and binaries.
- The script can be placed anywhere in the machine, and source codes will be downloaded in the same folder.
- The script is made for Ubuntu 20.04 64-bit.
- The files ending with
_old
are previous versions of the installer; Karma is installed separate from the other softwares (using thekarma_old.sh
).
- Miriad https://www.atnf.csiro.au/computing/software/miriad/
- Duchamp https://www.atnf.csiro.au/people/Matthew.Whiting/Duchamp/
- RPFITS https://www.atnf.csiro.au/computing/software/rpfits.html
- WCSLIB https://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/
- CFITSIO https://heasarc.gsfc.nasa.gov/fitsio/
- Karma https://www.atnf.csiro.au/computing/software/karma/
- Other modules:
pgplot5
gfortran
autoconf
git
csh
xorg
openbox
libxaw7
libreadline
build-essential
zlib1g
- Download and unpack the archive into a directory of choice:
or
unzip Miriad-Duchamp-Installer-[version].zip
wheretar -xzvf Miriad-Duchamp-Installer-[version].tar.gz
[version]
is the downloaded version of the installer. This will unpack the files into a directory calledMiriad-Duchamp-Installer-[version]
. - Enter the directory using
cd Miriad-Duchamp-Installer-[version]
- Make the installer script an executable using
chmod u+x install.sh
- Run the script using
Note: You may need to enter your password here for sudo privileges.
./install.sh
- If there are no errors and you see the message
the installation is successful. Run
"Installation complete. Run source ~/.profile or restart to use Miriad."
source ~/.profile
or restart the machine. - To test the installation, open another terminal and run
miriad
and you should seeand to test Duchamp, runMiriad shell version 1.5, 2007/06/12 miriad%
Duchamp
and you should seeand to test Karma, runUsage: Duchamp [OPTION] [FILE] Duchamp is an object finder for spectral-line FITS cubes. -p FILE Read in parameters from FILE, including FITS image location. -f FILE Use default parameters with imageFile=FILE -t THRESH Sets the detection threshold to THRESH, overriding that given by the parameter file. -x Do not use X-windows PGPLOT output (equivalent to setting flagXOutput=false -- overrides the parameter file) -v Return version number and exit -h Display this help information and exit
kvis
and the KVis GUI should appear.
I do not own any of the softwares involved in the script. The copyrights and licenses of every software involved can be found at their respective homepages. This is written just to ease the installation process of these softwares.