Install libgrib2c-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgrib2c-dev
Description:
NCEP GRIB2 library - development files
This is the libgrib2c library from NCEP for encoding and decoding 'GRIB2' data formats. . This package contains the static libraries and headers needed to build applications against libgrib2.
Homepage: http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/
Version: 1.6.0-9
Section: universe/libdevel