CUDA on Optimus graphics with RHEL

How should I install it on Optimus graphics on RHEL using the package manager method? I do not see the desktop environment after booting up after installation completes.