Install cernlib-base-dev by entering the following commands in the terminal:
sudo apt update sudo apt install cernlib-base-dev
CERNLIB data analysis suite - dependencies checking script
CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences. . This package includes the "cernlib" script that lists the command-line options needed for linking against CERNLIB libraries. The script has been rewritten from the upstream version to calculate dependencies recursively. Also included are a contributed set of Autoconf macros to test for CERNLIB libraries, and a set of Imake macros to allow CERNLIB modules to be built out-of-tree.