Install libsingular4-dev by entering the following commands in the terminal:

sudo apt update sudo apt install libsingular4-dev

Description:

*Computer Algebra System for Polynomial Computations -- development package*

SINGULAR is a Computer Algebra System (CAS) for polynomial computations with emphasis on the special needs of commutative algebra, algebraic geometry, and singularity theory. . This package contains architecture dependent header files and static libraries.

Homepage: https://www.singular.uni-kl.de/

Version: 1:4.1.0-p3+ds-2build1

Section: universe/libdevel