# Install kernel-devel specific to your current kernel. yum install "kernel-devel-uname-r == $(uname -r)"