Network Repo Installation for Ubuntu(gds)

The new GPG public key for the CUDA repository is 3bf863cc. This must be enrolled on the system, either using the cuda-keyring package or manually; the apt-key command is deprecated and not recommended.

  1. Install the new cuda-keyring package:

    wget https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/cuda-keyring_1.1-1_all.deb
    sudo dpkg -i cuda-keyring_1.1-1_all.deb
    

    where $distro/$arch should be replaced by one of the following:

    • ubuntu1604/x86_64

    • ubuntu1804/cross-linux-sbsa

    • ubuntu1804/ppc64el

    • ubuntu1804/sbsa

    • ubuntu1804/x86_64

    • ubuntu2004/cross-linux-aarch64

    • ubuntu2004/arm64

    • ubuntu2004/cross-linux-sbsa

    • ubuntu2004/sbsa

    • ubuntu2004/x86_64

    • ubuntu2204/sbsa

    • ubuntu2204/x86_64

    Note

    arm64-Jetson repos:

    • native: $distro/arm64

    • cross: $distro/cross-linux-aarch64

    sudo dpkg -i cuda-keyring_1.1-1_all.deb
    
  2. Or if you are unable to install the cuda-keyring package, you can optionally:

    1. Enroll the new signing key manually:

      wget https://developer.download.nvidia.com/compute/cuda/repos/<distro>/<arch>/cuda-archive-keyring.gpg
      sudo mv cuda-archive-keyring.gpg /usr/share/keyrings/cuda-archive-keyring.gpg
      
    2. Enable the network repository:

      echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/<distro>/<arch>/ /" | sudo tee /etc/apt/sources.list.d/cuda-<distro>-<arch>.list
      
    3. Add pin file to prioritize CUDA repository:

      wget https://developer.download.nvidia.com/compute/cuda/repos/<distro>/<arch>/cuda-<distro>.pin
      sudo mv cuda-<distro>.pin /etc/apt/preferences.d/cuda-repository-pin-600
      

相关推荐

最近更新

  1. TCP协议是安全的吗?

    2023-12-12 08:32:04       19 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-12 08:32:04       20 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-12 08:32:04       20 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-12 08:32:04       20 阅读

热门阅读

  1. 如何截取Hive数组中的前N个元素?

    2023-12-12 08:32:04       39 阅读
  2. C# DI依赖注入

    2023-12-12 08:32:04       37 阅读
  3. Linux中tar命令详解

    2023-12-12 08:32:04       30 阅读
  4. 选择排序和堆排序

    2023-12-12 08:32:04       36 阅读
  5. 个人博客搭建保姆级教程-Nginx篇

    2023-12-12 08:32:04       48 阅读
  6. 【Hadoop】修改YARN配置文件

    2023-12-12 08:32:04       33 阅读
  7. MySQL执行语句 Table ‘mysql.servers‘ doesn‘t exist

    2023-12-12 08:32:04       39 阅读