Editing
CUDA + NVIDIA drivers
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Installation == Download repo rpm from http://developer.nvidia.com/cuda-downloads (or copy the repo file over from another similar system). For further information, see the [https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html Installation Guide for Linux] and the [https://docs.nvidia.com/cuda/cuda-quick-start-guide/index.html CUDA Quick Start Guide]. === Fedora 33 === Install the repo and then deploy the full package: sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora32/x86_64/cuda-fedora33.repo sudo dnf clean all sudo dnf -y module install nvidia-driver:latest-dkms sudo dnf -y install cuda === CentOS 7 === It seems that the dependency for the linux kernel devel package has been lost ... and the driver install just silently fails yum install kernel-devel Now install the repository sudo yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo sudo yum clean all On regular compute nodes where the full CUDA libraries aren't needed: yum install nvidia-driver-latest-dkms On a full workstation or where CUDA is needed: sudo yum -y install nvidia-driver-latest-dkms cuda sudo yum -y install cuda-drivers There is a yum plugin that facilitates the installation and management of NVIDIA kernel modules: yum -y install yum-plugin-nvidia === Debian 10/11 === Install the repo and then deploy the full package: sudo apt-get install -y software-properties-common sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian10/x86_64/7fa2af80.pub sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/debian10/x86_64/ /" sudo add-apt-repository contrib sudo apt-get update sudo apt-get -y install cuda Alternatively, if the full CUDA distribution is not wanted/needed: sudo apt -y install nvidia-driver nvidia-smi After the install completes, a reboot is required to activate the drivers.
Summary:
Please note that all contributions to WilliamsNet Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WilliamsNet Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Commons
Architecture
How-To
Systems
Hardware
SysAdmin
Kubernetes
OpenSearch
Special
Pages to create
All pages
Recent changes
Random page
Help about MediaWiki
Formatting Help
Tools
What links here
Related changes
Special pages
Page information