How to setup program

less than 1 minute read

Most Linux users should just:

  1. download/install the pre-compiled binary code
    apt install
  2. Copy the star index files with

[Optional] compile

This is normally not necesary.

  1. Prereqs:
    apt install libcairo2-dev libnetpbm10-dev netpbm libpng12-dev libjpeg-dev zlib1g-dev swig libcfitsio-dev
  2. Install: If you have Anaconda/Miniconda Python as your default, will use them (or whatever your default Python is). Back to at least 0.70, is Python 3 compatible.

    tar xf*.gz
    make -j4
    make py
    make extra
    make install INSTALL_DIR=~/
  3. add to ~/.bashrc
    export PATH="$PATH:$HOME/"

    do not use ~ or you’ll get error

    cannot find executable astrometry-engine

  4. uncomment inparallel in ~/
  5. Copy the star index files with


If it can’t find the index file, be sure ~/ contains

add_path /home/username/astrometry/data

~ or $HOME will NOt work!

Leave a Comment