Command not found cc, make error 127

cc is an alias for the GNU C compiler (gcc). You can install it as follows:

 sudo apt install gcc

If, for some reason, the gcc compiler is already installed, but the symbolic link /usr/bin/cc is missing, you can also do:

 make CC=gcc

sudo apt install build-essential

This will install a C compiler (providing the cc command) as well as other tools that you may need for building software from source.