Install libnetpbm9-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libnetpbm9-dev
Description:
Development libraries and header files (v9)
This development package contains the library and header files for the pbm, pgm, pnm, and ppm graphics formats, if the split and now deprecated libraries are used. . This package is provided for backward compatibility.
Homepage: http://netpbm.alioth.debian.org
Version: 2:10.0-15.3build1
Section: universe/libdevel