Install libjpeg8-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libjpeg8-dev
Description:
Independent JPEG Group's JPEG runtime library (dependency package)
libjpeg8-dev dependency package, depending on libjpeg-turbo8-dev.
Version: 8c-2ubuntu8
Section: libdevel