Install Cuda 8 on Debian 11 stable

Dear community,

I have an old “NVIDIA Corporation GK208B [GeForce GT 730] (rev a1)” and running Debian 11.8. I tried to follow following approaches to get cuda 8 running in compatibility with above mentioned gforce - as I understood cuda 11 is not supporting Geforce GT730.

Starting runfile with following command:

“sudo sh cuda_8.0.61_375.26_linux-run --override --tmpdir /home”

I get following output:

"6. NVIDIA CUDA General Terms

The Software, on the Windows platform, may collect
non-personally identifiable information for the purposes of
customizing information delivered to you and improving future
versions of the Software. Such information, including IP
address and system configuration, will only be collected on an
anonymous basis and cannot be linked to any personally

…skipping 1 line
such as your username or hostname is not collected.


Do you accept the previously read EULA?
accept/decline/quit: accept

You are attempting to install on an unsupported configuration. Do you wish to continue?
(y)es/(n)o [ default is no ]: y

Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26?
(y)es/(n)o/(q)uit: y

Do you want to install the OpenGL libraries?
(y)es/(n)o/(q)uit [ default is yes ]: y

Do you want to run nvidia-xconfig?
This will update the system X configuration file so that the NVIDIA X driver
is used. The pre-existing X configuration file will be backed up.
This option should not be used on systems that require a custom
X configuration, such as systems with multiple GPU vendors.
(y)es/(n)o/(q)uit [ default is no ]:

Install the CUDA 8.0 Toolkit?
(y)es/(n)o/(q)uit: y

Enter Toolkit Location
[ default is /usr/local/cuda-8.0 ]:

Do you want to install a symbolic link at /usr/local/cuda?
(y)es/(n)o/(q)uit: y

Install the CUDA 8.0 Samples?
(y)es/(n)o/(q)uit: y

Enter CUDA Samples Location
[ default is /root ]:

Installing the NVIDIA display driver…
Installing the CUDA Toolkit in /usr/local/cuda-8.0 …
Warning: cannot find Toolkit in /usr/local/cuda-8.0. Use --toolkitpath to specify the toolkit location.
Installing the CUDA Samples in /root …
sh: 1: /usr/local/cuda-8.0/bin/cuda-install-samples-8.0.sh: not found
chown: Zugriff auf ‘/root/NVIDIA_CUDA-8.0_Samples’ nicht möglich: Datei oder Verzeichnis nicht gefunden

===========
= Summary =

Driver: Installed
Toolkit: Installation Failed
Samples: Installation Failed

To uninstall the NVIDIA Driver, run nvidia-uninstall

Logfile is /home/cuda_install_5724.log
"

Logfile is as shown:

"Installing the CUDA Toolkit in /usr/local/cuda-8.0 …
Verifying archive integrity… All good.

Uncompressing NVIDIA CUDA…

InstallUtils.pm did not return a true value at ./install-linux.pl line 6.

BEGIN failed–compilation aborted at ./install-linux.pl line 6.

Verifying archive integrity… All good.

Uncompressing NVIDIA CUDA Samples…

InstallUtils.pm did not return a true value at ./install-sdk-linux.pl line 6.

BEGIN failed–compilation aborted at ./install-sdk-linux.pl line 6.

‘uninstall_cuda_8.0.pl’ → ‘/usr/local/cuda-8.0/bin/uninstall_cuda_8.0.pl’
"

Thx a lot for your support

debian 11 isn’t a supported OS for CUDA 8 install.

here is the CUDA 8 linux install guide.

here is a recent thread that may be of interest.

Thanks for your prompt answer.

I know that Debian 11 and Cuda 8 are officially not supported - but as I mentioned above, there were already discussions how to get Cuda 8 running under Ubuntu 20 - where debian 11 is underlying.

I was following this workaround, got gcc installed but received above mentioned errors, after starting the run file.

I had the hope that someone solved this issue already, even it is not offcially supported.

I am still trying to install cuda 10.2 in Ubuntu 18.04. I did some progress!!!..but still struggling…But at least the .run script started installation and did not complain about gcc…this is the first error in nvidia-installer.log:

/tmp/selfgz9840/NVIDIA-Linux-x86_64-440.33.01/kernel/conftest/functions.h:10:2: error: #error acpi_walk_namespace() conftest failed!
#error acpi_walk_namespace() conftest failed!