Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/astrosica/mac-install

Installation procedures for MacOS.
https://github.com/astrosica/mac-install

install installation-procedure mac mac-osx

Last synced: 24 days ago
JSON representation

Installation procedures for MacOS.

Awesome Lists containing this project

README

        

# Installation procedures for MacOS.

## gcc
For more information, visit:

* http://hpc.sourceforge.net/

Note that installing `gcc` will automatically install gfortran.

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/gcc-* .
```

Unpack tar file.
```
sudo gunzip gcc-7.1-bin.tar.gz
sudo tar -xvf gcc-7.1-bin.tar
```

## Gnu Scientific Library (GSL)
For more information, visit:

* https://www.gnu.org/software/gsl/
* http://ftp.igh.cnrs.fr/pub/gnu/gsl/

Download the latest tar file at the bottom of the list.

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/gsl-latest.tar.gz .
```

Unpack tar file.
```
sudo gunzip gsl-latest.tar.gz
sudo tar -xvf gcc-7.1-bin.tar
```

Move into new `gsl` directory and configure.
```
cd ./gsl-2.5
sudo ./configure
sudo make
sudo make install
```

Complete installation.
```
sudo make
sudo make install
```

## Miriad
For more information, visit:

* http://www.atnf.csiro.au/computing/software/miriad/
* http://ftp.atnf.csiro.au/pub/software/miriad/

Make sure to download both the appropriate distribution tarbells. For MacOSX running Sierra this was miriad-darwin_x86_64.tar.bz2 and miriad-common.tar.bz2.

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/miriad-* .
```

Unpack tar files.
```
sudo bunzip2 miriad-darwin_x86_64.tar.bz2
sudo bunzip2 miriad-common.tar.bz2
sudo tar -xzvf miriad-darwin_x86_64.tar
sudo tar -xzvf miriad-common.tar
```

Add the distribution directory and `MIR` variable to bash profile.
```
export PATH="/usr/local/miriad/darwin_x86_64/bin:$PATH"
export MIR=”/usr/local/miriad”
```

Note that `Miriad` also requires `RPFITS` and `WCSLIB` (see below).

## healpy
For more information, visit:

* https://healpix.jpl.nasa.gov/
* https://healpy.readthedocs.io/en/latest/

### Directions for installation:

Install via `Anaconda`.
```
conda install glueviz
```

Note that `HEALPix` can be visualized using `CMBview` (see below).

## CMBview
For more information, visit:

* https://github.com/portsmouth/cmbview

### Directions for installation:

Install via Github.
```
sudo git clone https://github.com/portsmouth/cmbview.git
```

Note that `CMBview` also requires `CFITSIO` and `hpic` libraries (see below).

## RPFITS
For more information, visit:

* http://www.atnf.csiro.au/computing/software/rpfits.html

Make sure to download both the appropriate distribution tarbells. For MacOSX running Sierra this was rpfits-2.24_darwin.tar.gz and rpfits-2.24.tar.gz.

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/rpfits-* .
```

Unpack tar files.
```
sudo gunzip rpfits-2.24.tar.gz
sudo gunzip rpfits-2.24_darwin.tar.gz
sudo tar -xzvf rpfits-2.24.tar
sudo tar -xzvf rpfits-2.24_darwin.tar
```

## WCSLIB
For more information, visit:

* http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/
* http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/

The `WCSLIB` package first needs `CFITSIO` to be installed (see below).

Make sure to download the wcslib.tar.bz2 distribution.

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/wcslib.tar.bz2 .
```

Unpack tar files.
```
sudo bunzip2 wcslib.tar.bz2
sudo tar -xzvf wcslib.tar
```

Move into new wcslib directory and configure.
```
cd ./wcslib-5.19.1/
sudo ./configure --without-pgplot LIBS="-pthread -lm"
```

Replace 8 with no. CPU threads.
```
sudo make -j8
sudo make check
```

Complete installation.
```
sudo make install
```

## CFITSIO
For more information, visit:

* https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html

Make sure to download both the latest cfitsio_latest.tar.gz distribution. This can always be accessed with the following link: http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio_latest.tar.gz

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/cfitsio_latest.tar.gz .
```

Unpack tar file.
```
sudo tar xzf cfitsio_latest.tar.gz
```

Add the distribution directory and MIR variable to bash profile.
```
export PATH="/usr/local/miriad/darwin_x86_64/bin:$PATH"
export MIR=”/usr/local/miriad”
```

Move into new `cfitsio` directory and configure.
```
cd ./cfitsio
sudo ./configure
```

Run make and complete installation.
```
sudo make
sudo make install
```

Add distribution directory to bash_profile.
```
export PATH=”/usr/local/cfitsio:$PATH”
```

## Karma
For more information, visit:

* http://www.atnf.csiro.au/computing/software/karma/
* ftp://ftp.atnf.csiro.au/pub/software/karma/README
* ftp://ftp.atnf.csiro.au/pub/software/karma/

Make sure to download both the appropriate distribution tarbell and the relevant common.tar. For MacOSX running Sierra this was karma-1.7.20-x86_64_Darwin-15.5.tgz andkarma-1.7.20-common.tgz.

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/karma-1.7.20-* .
```

Unpack tar files.
```
sudo gunzip karma-1.7.20-x86_64_Darwin-15.5.tgz
sudo gunzip karma-1.7.20-common.tgz
sudo tar -xzvf karma-1.7.20-x86_64_Darwin-15.5.tar
sudo tar -xzvf karma-1.7.20-common.tar
```
Create a symbolic link that points to your `karma` distribution
```
sudo ln -s /usr/local/karma-1.7.20/x86_64_Darwin-15.5/ /usr/local/karma/
```

Add the distribution directory and `KARMABASE` variable to bash profile.
```
export PATH="/usr/local/karma/bin:$PATH"
export KARMABASE="/usr/local/karma"
```

## Glueviz
For more information, visit:

* http://docs.glueviz.org/en/stable/index.html

### Directions for installation:

Install via `Anaconda`.
```
conda install glueviz
```

Note that `Glueviz` also requires `Pandas`, `PyQt5`, `Qt Console`, `ipykernel`, `h5py`, `xlrd`, `astrodendro`, `PyAVM`, and `spectral-cube` (see below).

## Pandas
For more information, visit:

* http://pandas.pydata.org/

### Directions for installation:

Install via `Anaconda`.
```
conda install pandas
```

## PyQt5
For more information, visit:

* https://www.riverbankcomputing.com/software/pyqt/intro

### Directions for installation:

Install via Homebrew.
```
brew install pyqt5
```

## Qt Console
For more information, visit:

* https://qtconsole.readthedocs.io/en/stable/

### Directions for installation:

Install via `Anaconda`.
```
conda install qtconsole
```

## iPykernel
For more information, visit:

* https://pypi.org/project/ipykernel/

### Directions for installation:

Install via `Anaconda`.
```
conda install ipykernel
```

## h5py
For more information, visit:

* http://www.h5py.org/

### Directions for installation:

Install via `Anaconda`.
```
conda install h5py
```

## xlrd
For more information, visit:

* https://xlrd.readthedocs.io/en/latest/

### Directions for installation:

Install via `Anaconda`.
```
conda install xlrd
```

## astrodendro
For more information, visit:

* https://dendrograms.readthedocs.io/en/stable/
* https://pypi.org/project/astrodendro/

### Directions for installation:

Download tar file from `PyPI`: https://pypi.org/project/astrodendro/.

Move over to /usr/local directory and copy tar file over.
```
cd /usr/local
sudo cp ~/Downloads/astrodendro-* .
```

Unpack tar files.
```
sudo gunzip astrodendro-0.2.0.tar.gz
sudo tar -xzvf astrodendro-0.2.0.tar
```

Move into `astrodendro` directory and install via setup.py.
```
cd ./astrodendro-0.2.0
sudo python setup.py install
```

## pyavm
For more information, visit:

* https://astrofrog.github.io/pyavm/

### Directions for installation:

Download tar file from `PyPI`: https://pypi.org/project/spectral-cube/.

Move over to /usr/local directory and copy tar file over.
```
cd /usr/local
sudo cp ~/Downloads/PyAVM-* .
```

Unpack tar files.
```
sudo gunzip PyAVM-0.9.4.tar.gz
sudo tar -xzvf PyAVM-0.9.4.tar
```

Move into `PyAVM` directory and install via setup.py.
```
cd ./PyAVM-0.9.4
sudo python setup.py install
```

## spectral-cube
For more information, visit:

* https://spectral-cube.readthedocs.io/en/latest/installing.html

### Directions for installation:

Download tar file from `PyPI`: https://pypi.org/project/spectral-cube/.

Move over to /usr/local directory and copy tar file over.
```
cd /usr/local
sudo cp ~/Downloads/spectral-cube-* .
```

Unpack tar files.
```
sudo gunzip spectral-cube-0.4.3.tar.gz
sudo tar -xzvf spectral-cube-0.4.3.tar
```

Move into `spectral-cube` directory and install via setup.py.
```
cd ./spectral-cube-0.4.3
sudo python setup.py install
```

## Rotation Measure (RM) Synthesis
For more information, visit:

* https://github.com/brentjens/rm-synthesis

### Directions for installation:

Copy clone `Github` repository link.

Move over to /usr/local directory and clone repo.
```
cd /usr/local
sudo git clone https://github.com/brentjens/rm-synthesis.git
```

Move into `rm-synthesis` directory and install via setup.py.
```
cd ./rm-synthesis
sudo python setup.py install
```

## Montage
For more information, visit:

* http://montage.ipac.caltech.edu/docs/download.html
* https://github.com/Caltech-IPAC/Montage
* http://montage.ipac.caltech.edu/docs/build.html
* https://www.astropy.org/montage-wrapper/

Note that `Montage` must be installed in order to use the Python wrapper.

### Directions for installation:

Move over to /usr/local directory and copy distributions over.
```
cd /usr/local
sudo cp ~/Downloads/Montage-* .
```

Unpack tar file.
```
sudo gunzip gcc-7.1-bin.tar.gz
sudo tar -xvf gcc-7.1-bin.tar
```

Build `Montage`.
```
sudo make
```

Add `Montage` commands (e.g., `mAdd`, `mProject`, etc.) to `$PATH` variable.
```
export PATH="/usr/local/Montage/bin:$PATH"
```

Install Python wrapper.
```
pip install montage-wrapper
```

## ATLAS (Automatically Tuned Linear Algebra Software)
For more information, visit:

* http://math-atlas.sourceforge.net/
* http://math-atlas.sourceforge.net/atlas_install/node6.html

### Directions for installation:

Download tar file: `atlas3.10.3.tar.bz2` from the following link:

* https://sourceforge.net/project/showfiles.php?group_id=23725

Move over to /usr/local directory and copy tar file over.
```
cd /usr/local
sudo cp ~/Downloads/atlas* .
```

Unpack tar files.
```
sudo bunzip2 atlas3.10.3.tar.bz2
sudo tar -xzvf atlas3.10.3.tar
```

Move `ATLAS` directory to a more specific one:
```
sudo mv ATLAS ATLAS3.10.3
```

Move into `cd ATLAS3.10.3` directory and make a build subdirectory:
```
cd ATLAS3.10.3
sudo mkdir build_dir
```

Move into new build subdirectory and configure:
```
cd build_dir
sudo ../configure -b 64 -D c -DPentiumCPS=2400 --prefix=/usr/local/lib/
```

## FFTW
For more information, visit:

* http://www.fftw.org/

### Directions for installation:

Download tar file: `fftw-3.3.8.tar.gz`

Move over to /usr/local directory and copy tar file over.
```
cd /usr/local
sudo cp ~/Downloads/fftw-* .
```

Unpack tar files.
```
sudo gunzip fftw-3.3.8.tar.gz
sudo tar -xzvf fftw-3.3.8.tar
```

Move into `fftw-3.3.8` directory and install:
```
cd ./fftw-3.3.8
sudo ./configure
sudo make
sudo make install
```

Install again allowing double precision:
```
sudo ./configure --enable-threads
sudo make
sudo make install
```

Install once more allowing single precision:
```
sudo ./configure --enable-single --enable-threads
sudo make
sudo make install
```

## Source Extractor (SExtractor)
For more information, visit:

* https://www.astromatic.net/software/sextractor

### Directions for installation:

Download tar file: `sextractor-2.8.6.tar.gz`

Move over to /usr/local directory and copy tar file over.
```
cd /usr/local
sudo cp ~/Downloads/sextractor-* .
```

Unpack tar files.
```
sudo gunzip sextractor-2.8.6.tar.gz
sudo tar -xzvf sextractor-2.8.6.tar
```

Move into `sextractor-2.8.6` directory and install:
```
cd ./sextractor-2.8.6
sudo ./configure
sudo make
sudo make install
```