# Having problem with installation of cuda on debian(Kali Linux)

**URL:** https://forums.developer.nvidia.com/t/having-problem-with-installation-of-cuda-on-debian-kali-linux/230118
**Category:** CUDA Setup and Installation
**Tags:** cuda
**Created:** [October 7, 2022, 6:56am UTC](https://forums.developer.nvidia.com/t/having-problem-with-installation-of-cuda-on-debian-kali-linux/230118 "2022-10-07T06:56:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SecOvfShanks](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/secovfshanks/32/201430_2.png) [@SecOvfShanks](https://forums.developer.nvidia.com/u/SecOvfShanks)
#### Post date: [October 7, 2022, 6:56am UTC](https://forums.developer.nvidia.com/t/having-problem-with-installation-of-cuda-on-debian-kali-linux/230118/1 "2022-10-07T06:56:12Z")

</div>

I’m having issues with installation of cuda on my system, trying to install it using the apt package manager was giving the error below error so i tried searching for a solution for it and found a bit similar issue so I tried following the answer given at [nvidia forum link](https://forums.developer.nvidia.com/t/cuda-11-7-failing-to-install-on-debian-sid/215474) but it didn’t help.

```auto
xserver-xorg-video-nvidia : Depends: xserver-xorg-core (< 2:1.20.99) but 2:21.1.4-2 is to be installed

```

```auto
$ uname -a
Linux kali 5.18.0-kali7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1kali1 (2022-08-31) x86_64 GNU/Linux

```

```auto
$ sudo sh cuda_11.8.0_520.61.05_linux.run                              
[sudo] password for secovfshanks: 
 Installation failed. See log at /var/log/cuda-installer.log for details.

```

```auto
$ cat /var/log/cuda-installer.log
[INFO]: Driver not installed.
[INFO]: Checking compiler version...
[INFO]: gcc location: /usr/bin/gcc

[INFO]: gcc version: gcc version 12.2.0 (Debian 12.2.0-3) 

[INFO]: Initializing menu
[INFO]: nvidia-fs.setKOVersion(2.13.5)
[INFO]: Setup complete
[INFO]: Components to install: 
[INFO]: Driver
[INFO]: 520.61.05
[INFO]: Executing NVIDIA-Linux-x86_64-520.61.05.run --ui=none --no-questions --accept-license --disable-nouveau --no-cc-version-check --install-libglvnd 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 520.61.05 failed, quitting

```
