# Cuda-toolkit install failed on Fedora

**URL:** <https://forums.developer.nvidia.com/t/cuda-toolkit-install-failed-on-fedora/288913>\
**Category:** CUDA Setup and Installation\
**Created:** [April 8, 2024, 7:45pm UTC](https://forums.developer.nvidia.com/t/cuda-toolkit-install-failed-on-fedora/288913 "2024-04-08T19:45:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![water.y](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@water.y](https://forums.developer.nvidia.com/u/water.y)\
**Post date:** [April 8, 2024, 7:45pm UTC](https://forums.developer.nvidia.com/t/cuda-toolkit-install-failed-on-fedora/288913/1 "2024-04-08T19:45:14Z")

</div>

environment:  
Fedora 39 (x64)  
Python 3.12

NVIDIA display driver: 550.54.14 installed;  
try to install cuda-toolkit use “sudo ./cuda\_12.4.1\_550.54.15\_linux.run”

Installation failed. See log at /var/log/cuda-installer.log for details.

* * *

/var/log/cuda-installer.log

> [INFO]: Driver not installed.  
> [INFO]: Checking compiler version…  
> [INFO]: gcc location: /usr/bin/gcc
> 
> [INFO]: gcc version: gcc version 13.2.1 20240316 (Red Hat 13.2.1-7) (GCC)
> 
> [INFO]: Initializing menu  
> [INFO]: nvidia-fs.setKOVersion(2.19.7)  
> [INFO]: Setup complete  
> [INFO]: Installing: Driver  
> [INFO]: Installing: 550.54.15  
> [INFO]: Executing NVIDIA-Linux-x86\_64-550.54.15.run --ui=none --no-questions --accept-license --disable-nouveau --no-cc-version-check --install-libglvnd --run-nvidia-xconfig --kernel-module-build-directory=kernel-open 2\>&1  
> [INFO]: Finished with code: 256  
> [ERROR]: Install of driver component failed. Consult the driver log at /var/log/nvidia-installer.log for more details.  
> [ERROR]: Install of 550.54.15 failed, quitting

* * *

nvidia-installer log file ‘/var/log/nvidia-installer.log’

> creation time: Tue Apr 9 02:42:53 2024  
> installer version: 550.54.15
> 
> PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin
> 
> nvidia-installer command line:  
> ./nvidia-installer  
> –ui=none  
> –no-questions  
> –accept-license  
> –disable-nouveau  
> –no-cc-version-check  
> –install-libglvnd  
> –run-nvidia-xconfig  
> –kernel-module-build-directory=kernel-open
> 
> Using built-in stream user interface  
> → Detected 12 CPUs online; setting concurrency level to 12.  
> → Scanning the initramfs with lsinitrd…  
> → /usr/bin/lsinitrd requires a file path argument, but none was given.  
> → Executing: /usr/bin/lsinitrd /boot/initramfs-6.8.4-200.fc39.x86\_64.img  
> → Tagging shared libraries with chcon -t textrel\_shlib\_t.  
> WARNING: An NVIDIA kernel module ‘nvidia-drm’ appears to be already loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Some of the sanity checks that nvidia-installer performs to detect potential installation problems are not possible while an NVIDIA kernel module is running.  
> → Would you like to continue installation and skip the sanity checks? If not, please abort the installation, then close any programs which may be using the NVIDIA GPU(s), and attempt installation again. (Answer: Abort installation)  
> ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at [www.nvidia.com](http://www.nvidia.com).

---

<div class="post-metadata">

**Author:** ![water.y](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@water.y](https://forums.developer.nvidia.com/u/water.y)\
**Post date:** [April 9, 2024, 6:52pm UTC](https://forums.developer.nvidia.com/t/cuda-toolkit-install-failed-on-fedora/288913/2 "2024-04-09T18:52:21Z")

</div>

Solved, “Driver” not select when install CUDA Toolkit.
