首页 > 其他分享 >Install Cuda Toolkit

Install Cuda Toolkit

时间:2024-09-27 14:14:42浏览次数:1  
标签:non driver Toolkit free cuda Install nvidia distro Cuda

 

(base) zzh@ZZHPC:~$ sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1b.4/0000:02:00.0 ==
modalias : pci:v000010DEd00001F07sv000010DEsd000012ADbc03sc00i00
vendor   : NVIDIA Corporation
model    : TU106 [GeForce RTX 2070 Rev. A]
driver   : nvidia-driver-545-open - distro non-free
driver   : nvidia-driver-535 - distro non-free
driver   : nvidia-driver-550 - distro non-free recommended
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-535-server-open - distro non-free
driver   : nvidia-driver-545 - distro non-free
driver   : nvidia-driver-550-open - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

 

 

Base Installer	
Installation Instructions:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda-repo-ubuntu2204-12-4-local_12.4.0-550.54.14-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2204-12-4-local_12.4.0-550.54.14-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2204-12-4-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-4

 

Driver Installer	
NVIDIA Driver Instructions (choose one option)
To install the legacy kernel module flavor:
sudo apt-get install -y cuda-drivers
To install the open kernel module flavor:
sudo apt-get install -y nvidia-driver-550-open
sudo apt-get install -y cuda-drivers-550

 

(base) zzh@ZZHPC:~/Downloads/cuda$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
......
Saving to: ‘cuda-ubuntu2204.pin’

zzh@ZZHPC:~/Downloads/cuda$ wget https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda-repo-ubuntu2204-12-4-local_12.4.0-550.54.14-1_amd64.deb
......
Length: 3447943098 (3.2G) [application/x-deb]
Saving to: ‘cuda-repo-ubuntu2204-12-4-local_12.4.0-550.54.14-1_amd64.deb’

cuda-repo-ubuntu2204-12-4-local_12.4.0-55 100%[==================================================================================>]   3.21G  2.61MB/s    in 23m 41s

 

标签:non,driver,Toolkit,free,cuda,Install,nvidia,distro,Cuda
From: https://www.cnblogs.com/zhangzhihui/p/18435592

相关文章

  • Anaconda - Installation and Initialization
    InstallAnaconda:https://docs.anaconda.com/anaconda/install/linux/ CreateaCondavirtualenvironment: (base)zzh@ZZHPC:~/zd/Github$condacreate-nzpytorchanacondaChannels:-defaultsPlatform:linux-64Collectingpackagemetadata(repodata.json):d......
  • CUDA:英伟达的壁垒,其他GPU厂商的泥潭,简述CUDA影响力
    A科技公司,作为国产化的先锋军,曾怀揣着宏伟目标:彻底摆脱对英伟达GPU的依赖,构建一套完全独立自主的技术体系。他们坚信,随着国产GPU的蓬勃发展,公司定能在全球科技舞台上占据一席之地。为此,公司启动了一项雄心勃勃的计划,旨在全面替换现有的英伟达GPU,全面转向国产GPU。初期,一切似......
  • python使用pyinstaller打包exe的时候遇到:unknown encoding: idna
    python使用pyinstaller打包exe的时候遇到:unknownencoding:idna解决办法在程序开头加上importencodings.idna即可,如果idna没有安装,需要手动安装一下。#!/usr/bin/python#-*-coding:UTF-8-*-importencodings.idna......
  • 编译安装redis运行注册服务脚本sh install_server.sh时报错。
    在编译安装redis的时候,运行注册服务脚本shinstall_server.sh时,报错。WelcometotheredisserviceinstallerThisscriptwillhelpyoueasilysetuparunningredisserverThissystemsseemstousesystemd.Pleasetakealookattheprovidedexampleserviceunitfi......
  • Create a .pem File for TLS/SSL Certificate Installations
    .pemTLS/SSLCreationInstructionsSSL.pemfiles(concatenatedcertificatecontainerfiles),arefrequentlyrequiredforcertificateinstallationswhenmultiplecertificatesarebeingimportedasonefile.Thisarticlecontainsmultiplesetsofinstructi......
  • 手把手教你用linux安装Gromacs(2024 GPU-CUDA)
    文章目录1.Gromacs介绍2.Gromacs安装一、基础软件1.gcc下载安装2.g++下载安装3.python4.Cmake二、显卡驱动和CUDA安装1.显卡驱动2.CUDA安装3.Gromacs-2024GPU-CUDA安装可能遇到的问题1.错误一原因:解决方法:2.错误二原因:解决方法:3.错误三4.错误四结束语1.G......
  • PyInstaller打包模型文件
    最近需要将python项目打包成可执行文件,研究了下,记录下整个过程。项目是基于mxnet实现的一个物体检测器,需要打包成exe文件(windows)和linux的可执行文件,选择PyInstaller作为打包工具。主要有三个问题需要注意:1.由于PyInstaller会将python环境中的所有安装包都打包进去,所以......
  • install docker on ubuntu
    ToinstallDockeronUbuntu,youcanfollowthesesteps:Step1:UpdatethesystemOpenaterminalandrunthefollowingcommandtoupdateyourpackagelist:sudoapt-getupdateStep2:InstallrequireddependenciesRunthefollowingcommandtoinstallt......
  • 【大模型专栏—入门篇】CUDA入门与AutoDL“炼丹”
    大模型专栏介绍......
  • 易优eyoucms网站重新安装时,删除了install.lock文件,可是还是出现404页面
    当您在重新安装网站时删除了install.lock文件但仍出现404页面,可能是因为某些配置文件或缓存文件未被正确处理。以下是详细的解决步骤:1.确认删除install.lock文件确保install.lock文件已被正确删除。删除install.lock文件登录FTP客户端:使用FTP客户端登录到服务器。找......