I am new to Debian and I want to install the nvidia cuda toolkit, so I typed:apt install nvidia-cuda-toolkitbut it did not work, I found out I need to add a source in /etc/apt/sources.list which contains this cuda package.However, as for now there are only a few lines in /etc/apt/sources.list referring to a university, which I chose during installation.I do not know how to find out which source I need to add.Is there a debian database, where I can submit the program I need and which in turn gives me a list of sources containing it?
What sources to add in order to install cuda toolkit with apt on Debian?
debian;apt;nvidia;source
The nvidia-cuda-toolkit package is a non-free software , edit your /etc/apt/sources.list by adding the non-free component :apt edit-sourcesThen edit your sources , there is an example:deb http://deb.debian.org/debian stretch main contrib non-freesave and run:apt updateapt install nvidia-cuda-toolkit Componentmain consists of DFSG-compliant packages, which do not rely on software outside this area to operate. These are the only packages considered part of the Debian distribution.contrib packages contain DFSG-compliant software, but have dependencies not in main (possibly packaged for Debian in non-free).non-free contains software that does not comply with the DFSG.