cannot install cuda on oracle linux 7.5 with kernel 4.1.12-124.18.5.el7uek.x86_64

I am installing cuda on Oracle linux 7.5 having GP100GL [Tesla P100 SXM2 16GB] by following This link does not say Oracle linux is supported even though redhat and centos are supported.

I stuck at the step of installing matching development package:

sudo yum install kernel-devel-(uname -r) kernel-headers-$(uname -r)
Loaded plugins: langpacks, ulninfo
No package kernel-devel-4.1.12-124.18.5.el7uek.x86_64 available.
No package kernel-headers-4.1.12-124.18.5.el7uek.x86_64 available.
Error: Nothing to do

Does this mean I cannot use cuda in this situation? Any workaround? Appreciate any clue

what happens if you just try to install CUDA ?

If you need to install the kernel devel or headers packages on Oracle Linux, it looks like the command is a little different (note the “uek” in your kernel name):