Skip to content

Instantly share code, notes, and snippets.

@tleyden
Created October 31, 2022 22:49
Show Gist options
  • Save tleyden/d0a61df1df6a08f9e0426f99d9fef030 to your computer and use it in GitHub Desktop.
Save tleyden/d0a61df1df6a08f9e0426f99d9fef030 to your computer and use it in GitHub Desktop.
install cuda-11-6
# apt install cuda-${cuda_version} --no-install-recommends
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbsd0:i386 libfwupdplugin1 libnvidia-common-515 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxmlb1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
cuda-cccl-11-6 cuda-command-line-tools-11-6 cuda-compiler-11-6 cuda-cudart-11-6 cuda-cudart-dev-11-6 cuda-cuobjdump-11-6 cuda-cupti-11-6 cuda-cupti-dev-11-6
cuda-cuxxfilt-11-6 cuda-demo-suite-11-6 cuda-documentation-11-6 cuda-driver-dev-11-6 cuda-drivers cuda-drivers-520 cuda-gdb-11-6 cuda-libraries-11-6
cuda-libraries-dev-11-6 cuda-memcheck-11-6 cuda-nsight-11-6 cuda-nsight-compute-11-6 cuda-nsight-systems-11-6 cuda-nvcc-11-6 cuda-nvdisasm-11-6 cuda-nvml-dev-11-6
cuda-nvprof-11-6 cuda-nvprune-11-6 cuda-nvrtc-11-6 cuda-nvrtc-dev-11-6 cuda-nvtx-11-6 cuda-nvvp-11-6 cuda-runtime-11-6 cuda-samples-11-6 cuda-sanitizer-11-6
cuda-toolkit-11-6 cuda-tools-11-6 cuda-visual-tools-11-6 gds-tools-11-6 libcufft-11-6 libcufft-dev-11-6 libcufile-11-6 libcufile-dev-11-6 libcurand-11-6 libcurand-dev-11-6
libcusolver-11-6 libcusolver-dev-11-6 libcusparse-11-6 libcusparse-dev-11-6 libnpp-11-6 libnpp-dev-11-6 libnvidia-cfg1-520 libnvidia-common-520 libnvidia-compute-520
libnvidia-decode-520 libnvidia-encode-520 libnvidia-extra-520 libnvidia-fbc1-520 libnvidia-gl-520 libnvjpeg-11-6 libnvjpeg-dev-11-6 liburcu6 nsight-compute-2022.1.1
nsight-systems-2021.5.2 nvidia-compute-utils-520 nvidia-dkms-520 nvidia-driver-520 nvidia-kernel-common-520 nvidia-kernel-source-520 nvidia-modprobe nvidia-utils-520
xserver-xorg-video-nvidia-520
Recommended packages:
nvidia-prime libnvidia-compute-520:i386 libnvidia-decode-520:i386 libnvidia-encode-520:i386 libnvidia-fbc1-520:i386 libnvidia-gl-520:i386
The following packages will be REMOVED:
libnvidia-cfg1-515 libnvidia-compute-515 libnvidia-compute-515:i386 libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-encode-515 libnvidia-encode-515:i386
libnvidia-extra-515 libnvidia-fbc1-515 libnvidia-gl-515 nvidia-compute-utils-515 nvidia-dkms-515 nvidia-driver-515 nvidia-kernel-common-515 nvidia-kernel-source-515
nvidia-utils-515 xserver-xorg-video-nvidia-515
The following NEW packages will be installed:
cuda-11-6 cuda-cccl-11-6 cuda-command-line-tools-11-6 cuda-compiler-11-6 cuda-cudart-11-6 cuda-cudart-dev-11-6 cuda-cuobjdump-11-6 cuda-cupti-11-6 cuda-cupti-dev-11-6
cuda-cuxxfilt-11-6 cuda-demo-suite-11-6 cuda-documentation-11-6 cuda-driver-dev-11-6 cuda-drivers cuda-drivers-520 cuda-gdb-11-6 cuda-libraries-11-6
cuda-libraries-dev-11-6 cuda-memcheck-11-6 cuda-nsight-11-6 cuda-nsight-compute-11-6 cuda-nsight-systems-11-6 cuda-nvcc-11-6 cuda-nvdisasm-11-6 cuda-nvml-dev-11-6
cuda-nvprof-11-6 cuda-nvprune-11-6 cuda-nvrtc-11-6 cuda-nvrtc-dev-11-6 cuda-nvtx-11-6 cuda-nvvp-11-6 cuda-runtime-11-6 cuda-samples-11-6 cuda-sanitizer-11-6
cuda-toolkit-11-6 cuda-tools-11-6 cuda-visual-tools-11-6 gds-tools-11-6 libcufft-11-6 libcufft-dev-11-6 libcufile-11-6 libcufile-dev-11-6 libcurand-11-6 libcurand-dev-11-6
libcusolver-11-6 libcusolver-dev-11-6 libcusparse-11-6 libcusparse-dev-11-6 libnpp-11-6 libnpp-dev-11-6 libnvidia-cfg1-520 libnvidia-common-520 libnvidia-compute-520
libnvidia-decode-520 libnvidia-encode-520 libnvidia-extra-520 libnvidia-fbc1-520 libnvidia-gl-520 libnvjpeg-11-6 libnvjpeg-dev-11-6 liburcu6 nsight-compute-2022.1.1
nsight-systems-2021.5.2 nvidia-compute-utils-520 nvidia-dkms-520 nvidia-driver-520 nvidia-kernel-common-520 nvidia-kernel-source-520 nvidia-modprobe nvidia-utils-520
xserver-xorg-video-nvidia-520
0 upgraded, 71 newly installed, 17 to remove and 11 not upgraded.
Need to get 2,159 MB of archives.
After this operation, 4,066 MB of additional disk space will be used.
W: Sources disagree on hashes for supposely identical version '11.6.55-1' of 'cuda-cudart-11-6:amd64'.
W: Sources disagree on hashes for supposely identical version '11.6.55-1' of 'cuda-cccl-11-6:amd64'.
W: Sources disagree on hashes for supposely identical version '11.6.55-1' of 'cuda-driver-dev-11-6:amd64'.
W: Sources disagree on hashes for supposely identical version '11.6.55-1' of 'cuda-cudart-dev-11-6:amd64'.
W: Sources disagree on hashes for supposely identical version '11.6.55-1' of 'cuda-nvml-dev-11-6:amd64'.
W: Sources disagree on hashes for supposely identical version '11.6.101-1' of 'cuda-samples-11-6:amd64'.
W: Sources disagree on hashes for supposely identical version '11.6.55-1' of 'cuda-demo-suite-11-6:amd64'.
Do you want to continue? [Y/n] y
Get:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 cuda-cudart-11-6 11.6.55-1 [161 kB]
Get:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 cuda-nvrtc-11-6 11.6.124-1 [15.0 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal/main amd64 liburcu6 amd64 0.11.1-2 [54.2 kB]
Get:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 libcufft-11-6 10.7.2.124-1 [68.3 MB]
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.18.10-76051810-generic/updates/dkms/
nvidia-drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.18.10-76051810-generic/updates/dkms/
nvidia-peermem.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.18.10-76051810-generic/updates/dkms/
nvidia-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.18.10-76051810-generic/updates/dkms/
depmod...
DKMS: install completed.
Setting up cuda-nvdisasm-11-6 (11.6.124-1) ...
Setting up cuda-gdb-11-6 (11.6.124-1) ...
Setting up libnvidia-decode-520:amd64 (520.61.05-0ubuntu1) ...
Setting up libcusparse-dev-11-6 (11.7.2.124-1) ...
Setting up libcufile-11-6 (1.2.1.4-1) ...
Setting alternatives
update-alternatives: using /usr/local/cuda-11.6/gds/cufile.json to provide /etc/cufile.json (cufile.json) in auto mode
Setting up libnvjpeg-dev-11-6 (11.6.2.124-1) ...
Setting up cuda-cudart-dev-11-6 (11.6.55-1) ...
Setting up xserver-xorg-video-nvidia-520 (520.61.05-0ubuntu1) ...
Setting up libnvidia-encode-520:amd64 (520.61.05-0ubuntu1) ...
Setting up cuda-nvcc-11-6 (11.6.124-1) ...
Setting up libcusolver-dev-11-6 (11.3.4.124-1) ...
Setting up libcufile-dev-11-6 (1.2.1.4-1) ...
Setting up nvidia-driver-520 (520.61.05-0ubuntu1) ...
Setting up cuda-libraries-11-6 (11.6.2-1) ...
Setting up cuda-compiler-11-6 (11.6.2-1) ...
Setting up cuda-cupti-11-6 (11.6.124-1) ...
Setting up cuda-drivers-520 (520.61.05-1) ...
Setting up cuda-cupti-dev-11-6 (11.6.124-1) ...
Setting up cuda-command-line-tools-11-6 (11.6.2-1) ...
Setting up cuda-drivers (520.61.05-1) ...
Setting up cuda-libraries-dev-11-6 (11.6.2-1) ...
Setting up cuda-runtime-11-6 (11.6.2-1) ...
Setting up cuda-visual-tools-11-6 (11.6.2-1) ...
Setting up cuda-demo-suite-11-6 (11.6.55-1) ...
Setting up cuda-tools-11-6 (11.6.2-1) ...
Setting up cuda-toolkit-11-6 (11.6.2-1) ...
Setting alternatives
Setting up cuda-11-6 (11.6.2-1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: Generating /boot/initrd.img-5.18.10-76051810-generic
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.3) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment