Separate names with a comma.
For OL8 (with recent kernel version) the solution is : dnf install -y oracle-epel-release-el8 dnf install -y kernel-uek-devel-$(uname -r)...