Need to check if the Kernel source code and glibc-static are installed for new driver

A driver I want to install requires the kernel source code and glibc-static. The vendor shows how to check that everything else is installed. How do I find out if the first 2 are installed, and it not, how do I install them.

Linux newbie