Installation from source

From CARMA
(Difference between revisions)
Jump to: navigation, search
(Installation from Source)
Line 3: Line 3:
 
In a nutshell grab the (CVS enabled) source code, and run the install script. If that fails, you should consult the [http://www.astro.umd.edu/~teuben/miriad/install.html more detailed installation guidelines].
 
In a nutshell grab the (CVS enabled) source code, and run the install script. If that fails, you should consult the [http://www.astro.umd.edu/~teuben/miriad/install.html more detailed installation guidelines].
  
'''Step1''': grab the code
+
'''Step 1''': grab the source code
  
 
   curl ftp://ftp.astro.umd.edu/progs/bima/miriad.tar.gz | tar zxf -
 
   curl ftp://ftp.astro.umd.edu/progs/bima/miriad.tar.gz | tar zxf -
Line 9: Line 9:
 
   wget -O - ftp://ftp.astro.umd.edu/progs/bima/miriad.tar.gz | tar zxf -
 
   wget -O - ftp://ftp.astro.umd.edu/progs/bima/miriad.tar.gz | tar zxf -
  
'''Step2''': install using your own compiler
+
'''Step 2''': install using your own compiler
 
    
 
    
 
   miriad_cvs/install/install.miriad
 
   miriad_cvs/install/install.miriad
  
This shell script does have some optional arguments, but you should not need to supply any.
+
This shell script does have some optional arguments, but you should not need to supply any.  
  
 +
'''Step 3''': Source the appropriate startup file, depending on your shell, and miriad should now be usable in your shell. You can also make this permanent by adding this to your '''~/.cshrc''' or '''~/.bashrc''' file.
  
Now source the appropriate startup file, depending on your shell, and miriad should now be usable in your shell. You can also make this permanent by adding this to your '''~/.cshrc''' or '''~/.bashrc''' file.
+
For example, for a csh style shell
 +
  source miriad_cvs/miriad_start.csh
 +
will add miriad to your current (csh) shell.

Revision as of 13:27, 11 February 2007

Installation from Source

In a nutshell grab the (CVS enabled) source code, and run the install script. If that fails, you should consult the more detailed installation guidelines.

Step 1: grab the source code

  curl ftp://ftp.astro.umd.edu/progs/bima/miriad.tar.gz | tar zxf -
 or
  wget -O - ftp://ftp.astro.umd.edu/progs/bima/miriad.tar.gz | tar zxf -

Step 2: install using your own compiler

  miriad_cvs/install/install.miriad

This shell script does have some optional arguments, but you should not need to supply any.

Step 3: Source the appropriate startup file, depending on your shell, and miriad should now be usable in your shell. You can also make this permanent by adding this to your ~/.cshrc or ~/.bashrc file.

For example, for a csh style shell

  source miriad_cvs/miriad_start.csh

will add miriad to your current (csh) shell.

Personal tools