Help! How to update kernel for CUDA 10.1

I am going to install cuda 10.1 for Ubuntu 18.04.3. And I saw that I need kernel 5.0.0 for that.

I look up the given list for kernel 5.0.0. There are 5.0-rc1 all the way to 5.0-rc8

Can anyone tell me which one should I use?

And based on the given instruction from Nvidia. We should update the kernel by sudo apt-get install Linux-headers-$(uname -r). Here where should I replaced for the $(uname -r) part? As I know there are tons of versions for 5.0.0

Please help me! Thanks!

1 Like