APT

On Debian based GNU/Linux distributions such as Ubuntu or Linux Mint, the following packages should be installed by using the package manager (e.g. sudo apt install package_name):

  • build-essential
  • gfortran
  • libgfortran4 (debian repo)
  • python3
  • python3-tk
  • python3-numpy
  • python3-scipy
  • python3-astropy
  • python3-matplotlib
  • python3-statsmodels
  • python3-dill
  • python3-lockfile
  • python3-pip
  • python3-venv
  • python3-virtualenv
  • cython (or cython3)
  • libgsl0-dev
  • libcfitsio-dev
  • libncurses-dev
  • libblas-dev
  • liblapack-dev
  • libatlas-base-dev
  • libfreetype6-dev
  • libpng-dev
  • libhdf5-dev

Finally, download iSpec source code, decompress it and move to $HOME/shared. Open a terminal in the iSpec directory and run:

make clean
make spectrum
make turbospectrum
make moog