Cannot install CUDA 10

My GPU is RTX2080 and OS is ubuntu 18.04.2

After I install the driver (410), I can use nvidia-smi to check the following message:
±----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104 Driver Version: 410.104 CUDA Version: 10.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 2080 Off | 00000000:65:00.0 On | N/A |
| 0% 38C P8 22W / 260W | 139MiB / 7951MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1193 G /usr/lib/xorg/Xorg 59MiB |
| 0 1311 G /usr/bin/gnome-shell 78MiB |
±----------------------------------------------------------------------------+

However, I don’t install the CUDA 10 manually (That’s so strange!). And then I can’t install CUDA again. I also don’t know where the CUDA 10 path (not in /usr/local).

When I do
chmod +x cuda_10.0.130_410.48_linux.run
sudo ./cuda_10.0.130_410.48_linux-run --override

I got the error message in /var/log/nvidia-installer.log

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Thu May 30 18:02:33 2019
installer version: 410.48

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line:
./nvidia-installer
–ui=none
–no-questions
–accept-license
–disable-nouveau
–no-cc-version-check
–dkms

Using built-in stream user interface
-> Detected 16 CPUs online; setting concurrency level to 16.
ERROR: An NVIDIA kernel module ‘nvidia-drm’ appears to already be loaded in your kernel. This may be because it is in use (for example, by an X serve$
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation pro$

Could you help me?

when you are prompted to install the driver, just select “no”

Thank you for respond. But I install the driver by sudo apt install nvidia-driver-410. I didn’t see any selection.

THis commmand you issued here:

sudo ./cuda_10.0.130_410.48_linux-run --override

is attempting to install the 410.48 driver (even though you already have 410.104 installed as you said).

It asks you whether you want to install the driver (yes, it does). Answer no when it asks. Keep your 410.104 driver that you installed with sudo apt install nvidia-driver-410