astap command not found

In this troubleshooting guide we learn how to fix astap command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

astap: command not found

or when using sudo you get the following error message

sudo: astap: command not found

Solutions to astap: command not found

How To Fix astap: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu astap is provided by astap package.

astap is:

ASTAP is a free stacking and astrometric solver (plate solver) program for deep sky images. In works with astronomical images in the FITS format, but can import RAW DSLR images or XISF, PGM, PPM, TIF, PNG and JPG images. It has a powerful FITS viewer and the native astrometric solver can be used by CCDCiel, NINA, APT or SGP imaging programs to synchronise the mount based on an image taken.

Main features:

  • Native astrometric solver, command line compatible with PlateSolve2.
  • Stacking astronomical images including dark frame and flat field correction.
    • Filtering of deep sky images based on HFD value and average value.
    • Alignment using an internal star match routine, internal astrometric solver.
    • Mosaic building covering large areas using the astrometric linear solution WCS or WCS+SIP polynomial.
    • Background equalizing.
  • FITS viewer with swipe functionality, deep sky and star annotation, photometry and CCD inspector.
    • FITS thumbnail viewer.
    • Results can be saved to 16 bit or float (-32) FITS files.
    • Export to JPEG, PNG, TIFF, PFM, PPM, PGM files.
    • FITS header edit.
    • FITS crop function.
    • Automatic photometry calibration against Gaia database, Johnson -V or Gaia Bm
    • CCD inspector
    • Deepsky and Hyperleda annotation
    • Solar object annotation using MPC ephemerides
    • Read/writes FITS binary and reads ASCII tables.
  • Some pixel math functions and digital development process
  • Can display images and tables from a multi-extension FITS.
  • Blink routine.

To fix this problem, we can install more using the command below.

sudo apt-get -y install astap

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install astap.

sudo apt -y install astap

Or if you have aptitude installed you can use the following command.

sudo aptitude install astap

Summary

In this tutorial we learn how to fix astap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.