On Mon, 2023-03-20 at 07:42 -0400, Genes Lists wrote: > > The kernel headers are used to compile out-of-tree kernel modules for > that kernel. You should always install kernel and its companion > headers file. While there may be cases where the headers are not > actually changed and it may work - good policy is always install both > kernel and its companion headers package. If you don't compile out of > tree kernel modules then you may not even need to install headers. I don't know if that's what the OP is asking for. There's no need to compile e.g. vim or bash against a new kernel version. But there is the need to compile e.g. virtualbox kernel modules against a new kernel version.