Install libcfitsio5 by entering the following commands in the terminal:
sudo apt update sudo apt install libcfitsio5
Description:
shared library for I/O with FITS format data 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 to run programs that use this library.
Homepage: https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html
Version: 3.430-2
Section: universe/devel