Install gengetopt by entering the following commands in the terminal:
sudo apt update sudo apt install gengetopt
Description:
skeleton main.c generator
gengetopt reads an interface description file, and writes a skeleton main.c file. gengetopt supports: long and short options, 11 types of parameters (including flag, int, double, string, and function call), and a usage message.
Homepage: http://www.gnu.org/software/gengetopt/
Version: 2.22.6+dfsg0-2
Section: universe/devel