Installing Cuda 10 depends on how you have Cuda 9 installed, if you used yum, then install Cuda 10 w/ yum. If you used Nvidia’s installer, then use Nvidia’s installer to install Cuda 10.
It’s pretty easy and you can have multiple version of cuda installed, just make sure that the symbolic link at /usr/local
points to the version of Cuda you want as the default for the system.
It’s also possible that you’ll have to update your Cryosparc installation to link to the new Cuda, see this thread for example: