How to remove CUDA and Nvidia driver from CentOS?

yum remove "*cublas*" "cuda*"
yum remove "*nvidia*"

docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#removing-cuda-tk-and-driver