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 https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html. 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 ?

https://blogs.oracle.com/wim/using-a-baremetal-gpu-shape-in-oracle-cloud-infrastructure-with-oracle-linux-7-and-tensorflow

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):

https://docs.oracle.com/cd/E93554_01/E63227/html/uek3_development.html