I have just learnt about shell and lfd103, and I write this script to check minimal requirement.
chmod +x checklinuxbuildminimalrequirement.sh
Nice idea. However, I'm not sure how you generated the list of requirements and I know some are missing, such as the elf and ssl development utilities which are needed for kernel compilation, and you certainly don't need pcmciautils since I don't think anyone has needed a PCMCIA card for a long time. The file "Documentation/CHANGES" lists requirements but tends to be out of date. You could use the ready-for.sh script at https://training.linuxfoundation.org/cm/prep page and run it as in ./ready-for.sh --install LFD420 (LFD420 is a kernel devel course) and probably you'll get what you need. However, if you really want to know for learning purposes exactly what you need that is somewhat of a sledgehammer