Install libcfitsio-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libcfitsio-dev
Description:
library for I/O with FITS format data files (development files)
FITS (Flexible Image Transport System) is a data format most used in astronomy. cfitsio is a library of ANSI C routines for reading and writing FITS format data files. A set of Fortran-callable wrapper routines are also included for the convenience of Fortran programmers. . This package contains what you need for compiling sources that use this library in your own code.
Homepage: https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html
Version: 3.430-2
Section: universe/libdevel