Install cgilib by entering the following commands in the terminal:
sudo apt update sudo apt install cgilib
Simple CGI Library
This library provides a simple programming API to the Common Gateway Interface (CGI). It features HTTP Redirect, provides read access to FORM variables, sets HTTP Cookies and reads them.