官网下载https://developer.nvidia.com/nccl
(base) boystray@boystray-All-Series:~/Downloads$ sudo dpkg -i nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1_1-1_amd64.deb
(正在读取数据库 ... 系统当前共安装有 252576 个文件和目录。)
正准备解包 nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1_1-1_amd64.deb ...
正在将 nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1 (1-1) 解包到 (1-1) 上 ...
正在设置 nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1 (1-1) ...
The public CUDA GPG key does not appear to be installed.
To install the key, run this command:
sudo apt-key add /var/nccl-repo-2.4.8-ga-cuda10.1/7fa2af80.pub
(base) boystray@boystray-All-Series:~/Downloads$ sudo apt-key add /var/nccl-repo-2.4.8-ga-cuda10.1/7fa2af80.pub
OK
(base) boystray@boystray-All-Series:~/Downloads$ sudo dpkg -i nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1_1-1_amd64.deb
(正在读取数据库 ... 系统当前共安装有 252576 个文件和目录。)
正准备解包 nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1_1-1_amd64.deb ...
正在将 nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1 (1-1) 解包到 (1-1) 上 ...
正在设置 nccl-repo-ubuntu1804-2.4.8-ga-cuda10.1 (1-1) ...
(base) boystray@boystray-All-Series:~/Downloads$ sudo apt update
获取:1 file:/var/nccl-repo-2.4.8-ga-cuda10.1 InRelease
忽略:1 file:/var/nccl-repo-2.4.8-ga-cuda10.1 InRelease
获取:2 file:/var/nccl-repo-2.4.8-ga-cuda10.1 Release [574 B]
获取:2 file:/var/nccl-repo-2.4.8-ga-cuda10.1 Release [574 B]
获取:3 file:/var/nccl-repo-2.4.8-ga-cuda10.1 Release.gpg [833 B]
获取:3 file:/var/nccl-repo-2.4.8-ga-cuda10.1 Release.gpg [833 B]
命中:4 http://mirrors.aliyun.com/ubuntu bionic InRelease
命中:5 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
获取:6 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
命中:7 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
获取:8 file:/var/nccl-repo-2.4.8-ga-cuda10.1 Packages [951 B]
命中:9 https://mirrors.ustc.edu.cn/ubuntu cosmic InRelease
命中:10 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
获取:11 https://mirrors.ustc.edu.cn/ubuntu cosmic-updates InRelease [88.7 kB]
命中:12 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
忽略:13 http://mirrors.aliyun.com/ubuntu trusty InRelease
命中:14 http://mirrors.aliyun.com/ubuntu trusty-security InRelease
获取:15 https://mirrors.ustc.edu.cn/ubuntu cosmic-backports InRelease [74.6 kB]
获取:16 http://mirrors.aliyun.com/ubuntu trusty-updates InRelease [65.9 kB]
获取:17 https://mirrors.ustc.edu.cn/ubuntu cosmic-security InRelease [88.7 kB]
获取:18 http://mirrors.aliyun.com/ubuntu trusty-proposed InRelease [65.9 kB]
获取:19 https://mirrors.ustc.edu.cn/ubuntu cosmic-proposed InRelease [92.5 kB]
命中:20 http://mirrors.aliyun.com/ubuntu trusty-backports InRelease
命中:21 http://security.ubuntu.com/ubuntu cosmic-security InRelease
命中:22 http://cn.archive.ubuntu.com/ubuntu cosmic InRelease
命中:23 http://mirrors.aliyun.com/ubuntu trusty Release
命中:24 http://cn.archive.ubuntu.com/ubuntu cosmic-updates InRelease
命中:25 https://apt.repos.intel.com/mkl all InRelease
命中:26 http://cn.archive.ubuntu.com/ubuntu cosmic-backports InRelease
命中:28 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu cosmic InRelease
已下载 494 kB,耗时 4秒 (136 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 207 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
(base) boystray@boystray-All-Series:~/Downloads$ udo apt install libnccl2=2.4.8-1+cuda10.1 libnccl-dev=2.4.8-1+cuda10.1
Command 'udo' not found, but can be installed with:
sudo apt install udo
(base) boystray@boystray-All-Series:~/Downloads$ sudo apt install libnccl2=2.4.8-1+cuda10.1 libnccl-dev=2.4.8-1+cuda10.1
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
augeas-lenses debugedit libaugeas0 libbsd0:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386
libexpat1:i386 libffi6:i386 libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libllvm7:i386 libnvidia-cfg1-390 libnvidia-common-390
libnvidia-compute-390:i386 libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390 libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386 libnvidia-gl-390
libnvidia-gl-390:i386 libnvidia-ifr1-390 libnvidia-ifr1-390:i386 libpciaccess0:i386 librpmbuild8 librpmsign8 libsensors4:i386 libsolv-tools libsolv0 libsolvext0 libstdc++6:i386
libwayland-client0:i386 libwayland-server0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
libxcb-sync1:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxshmfence1:i386 libxxf86vm1:i386 libzypp-bin libzypp-common libzypp-config
libzypp1702 rpm screen-resolution-extra xserver-xorg-video-nvidia-390 zypper-common
使用'sudo apt autoremove'来卸载它(它们)。
下列【新】软件包将被安装:
libnccl-dev libnccl2
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 207 个软件包未被升级。
需要下载 0 B/58.4 MB 的归档。
解压缩后会消耗 220 MB 的额外空间。
获取:1 file:/var/nccl-repo-2.4.8-ga-cuda10.1 libnccl2 2.4.8-1+cuda10.1 [28.9 MB]
获取:2 file:/var/nccl-repo-2.4.8-ga-cuda10.1 libnccl-dev 2.4.8-1+cuda10.1 [29.5 MB]
正在选中未选择的软件包 libnccl2。
(正在读取数据库 ... 系统当前共安装有 252576 个文件和目录。)
正准备解包 .../libnccl2_2.4.8-1+cuda10.1_amd64.deb ...
正在解包 libnccl2 (2.4.8-1+cuda10.1) ...
正在选中未选择的软件包 libnccl-dev。
正准备解包 .../libnccl-dev_2.4.8-1+cuda10.1_amd64.deb ...
正在解包 libnccl-dev (2.4.8-1+cuda10.1) ...
正在设置 libnccl2 (2.4.8-1+cuda10.1) ...
正在处理用于 libc-bin (2.28-0ubuntu1) 的触发器 ...
/sbin/ldconfig.real: /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudnn.so.7 is not a symbolic link
正在设置 libnccl-dev (2.4.8-1+cuda10.1) ...