Nvcc --version not found but nvidia-smi shows the CUDA version

I have already remove all the cuda files path → /usr/local/cuda and also for the cudnn. It still show me the cuda version on the nvidia-smi details. How do I remove the cuda completely from the nvidia driver since I want to install another version for cuda.

nvidia-smi detail:
±----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 2060 On | 00000000:09:00.0 Off | N/A |
| 94% 84C P2 114W / 170W | 4174MiB / 5933MiB | 76% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1919 G /usr/lib/xorg/Xorg 40MiB |
| 0 N/A N/A 2470 G kwin_x11 6MiB |
| 0 N/A N/A 2485 G /usr/bin/krunner 1MiB |
| 0 N/A N/A 2489 G /usr/bin/plasmashell 14MiB |
| 0 N/A N/A 2623 G …mviewer/tv_bin/TeamViewer 7MiB |
| 0 N/A N/A 3424 C tensorflow_model_server 4077MiB |
| 0 N/A N/A 20112 G …bexec/kscreenlocker_greet 15MiB |
±----------------------------------------------------------------------------+

nvcc --version:

Command ‘nvcc’ not found, but can be installed with:

sudo apt install nvidia-cuda-toolkit