However, after rebooting, when I tried to install cuda toolkit 11.2 using
sudo sh cuda_11.2.0_460.27.04_linux.run
It returns “Existing installation of CUDA Toolkit 11.2 found”. Also, running “nvidia-smi” and “nvcc -V” seems as if they are functioning properly, and it seems all files in the installation directory of the previous cuda have not been removed. How should I resolve this problem? Thanks!