Linux CentOS安装NVIDIA GPU驱动程序和NVIDIA CUDA工具包

要在CentOS上安装NVIDIA驱动程序和NVIDIA CUDA工具包,您可以按照以下步骤进行操作:

1. 准备工作:

  • 确保您的系统具有兼容的NVIDIA GPU。您可以在NVIDIA官方网站上查找支持CUDA的GPU型号列表。
  • 如果您之前已经安装了Nouveau驱动程序并禁用了它,请确保按照之前提供的方法启用Nouveau驱动程序。

2. 检查您的GPU型号:

运行以下命令以确定您的GPU型号:

lspci | grep -i nvidia

3. 禁用Nouveau驱动程序:

如果您之前禁用了Nouveau驱动程序,请按照先前提供的方法重新启用它。在安装NVIDIA驱动程序之前,需要禁用系统中的Nouveau开源驱动程序。编辑 /etc/modprobe.d/blacklist.conf 文件,并在文件末尾添加以下行:

blacklist nouveau
options nouveau modeset=0
可参考: https://blog.csdn.net/holyvslin/article/details/132142777

4. 安装依赖项:

运行以下命令以安装所需的依赖项:

sudo yum install epel-release
sudo yum install dkms gcc make kernel-devel-$(uname -r)

输出

**$ sudo yum install epel-release**
Loaded plugins: fastestmirror, langpacks
Repository 'epel' is missing name in configuration, using id
Determining fastest mirrors
epel/x86_64/metalink                                                                                                                                  |  26 kB  00:00:00
 * base: centos.mirror.far.fi
 * epel: epel.mirror.serveriai.lt
 * extras: centos.mirror.far.fi
 * updates: centos.mirror.far.fi
base                                                                                                                                                  | 3.6 kB  00:00:00
docker-ce-stable                                                                                                                                      | 3.5 kB  00:00:00
epel                                                                                                                                                  | 4.7 kB  00:00:00
extras                                                                                                                                                | 2.9 kB  00:00:00
updates                                                                                                                                               | 2.9 kB  00:00:00
(1/4): docker-ce-stable/7/x86_64/primary_db                                                                                                           | 116 kB  00:00:00
epel/x86_64/primary_db         FAILED                                                                                                      ]  0.0 B/s | 116 kB  --:--:-- ETA
http://mirror.de.leaseweb.net/epel/7/x86_64/repodata/4b31623aac417e09140aba503c78a89f51860e0b55fb7a6532d095ad39f56f92-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(2/4): epel/x86_64/updateinfo                                                                                                                         | 1.0 MB  00:00:02
(3/4): epel/x86_64/primary_db                                                                                                                         | 7.0 MB  00:00:07
(4/4): updates/7/x86_64/primary_db                                                                                                                    |  22 MB  00:00:10
Package epel-release-7-14.noarch already installed and latest version
Nothing to do

**$ sudo yum install dkms gcc make kernel-devel-$(uname -r)**
Loaded plugins: fastestmirror, langpacks
Repository 'epel' is missing name in configuration, using id
Loading mirror speeds from cached hostfile
 * base: centos.mirror.far.fi
 * epel: epel.mirror.serveriai.lt
 * extras: centos.mirror.far.fi
 * updates: centos.mirror.far.fi
Package gcc-4.8.5-44.el7.x86_64 already installed and latest version
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package dkms.noarch 0:3.0.11-1.el7 will be installed
--> Processing Dependency: elfutils-libelf-devel for package: dkms-3.0.11-1.el7.noarch
---> Package kernel-devel.x86_64 0:3.10.0-1160.92.1.el7 will be installed
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.176-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
 Package                                          Arch                              Version                                         Repository                          Size
=============================================================================================================================================================================
Installing:
 dkms                                             noarch                            3.0.11-1.el7                                    epel                                87 k
 kernel-devel                                     x86_64                            3.10.0-1160.92.1.el7                            updates                             18 M
Installing for dependencies:
 elfutils-libelf-devel                            x86_64                            0.176-5.el7                                     base                                40 k

Transaction Summary
=============================================================================================================================================================================
Install  2 Packages (+1 Dependent package)

Total download size: 18 M
Installed size: 38 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for updates
(1/3): dkms-3.0.11-1.el7.noarch.rpm                                                                                                                   |  87 kB  00:00:01
(2/3): elfutils-libelf-devel-0.176-5.el7.x86_64.rpm                                                                                                   |  40 kB  00:00:01
(3/3): kernel-devel-3.10.0-1160.92.1.el7.x86_64.rpm                                                                                                   |  18 MB  00:00:11
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                        1.6 MB/s |  18 MB  00:00:11
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : elfutils-libelf-devel-0.176-5.el7.x86_64                                                                                                                  1/3
  Installing : kernel-devel-3.10.0-1160.92.1.el7.x86_64                                                                                                                  2/3
  Installing : dkms-3.0.11-1.el7.noarch                                                                                                                                  3/3
  Verifying  : dkms-3.0.11-1.el7.noarch                                                                                                                                  1/3
  Verifying  : kernel-devel-3.10.0-1160.92.1.el7.x86_64                                                                                                                  2/3
  Verifying  : elfutils-libelf-devel-0.176-5.el7.x86_64                                                                                                                  3/3

Installed:
  dkms.noarch 0:3.0.11-1.el7                                                    kernel-devel.x86_64 0:3.10.0-1160.92.1.el7

Dependency Installed:
  elfutils-libelf-devel.x86_64 0:0.176-5.el7

Complete!

5. 下载NVIDIA驱动程序:

  • 访问NVIDIA官方网站(https://www.nvidia.com/drivers)并下载适用于您的GPU的最新NVIDIA驱动程序(通常为.run文件)。https://www.nvidia.com/download/driverResults.aspx/182244/en-us/ Linux CentOS安装NVIDIA GPU驱动程序和NVIDIA CUDA工具包_第1张图片

6. 关闭图形界面:

在安装驱动程序之前,需要通过运行以下命令关闭图形界面:

sudo systemctl set-default multi-user.target
sudo systemctl isolate multi-user.target

7. 下载NVIDIA CUDA工具包:

访问NVIDIA开发者网站(https://developer.nvidia.com/cuda-downloads)并下载适用于您的GPU型号和操作系统的最新CUDA工具包(通常为.run文件)。
安装过程可能因CUDA版本和操作系统而有所不同,因此请参考CUDA工具包的安装文档进行安装。
https://developer.nvidia.com/cuda-downloads?target_os=Linux Linux CentOS安装NVIDIA GPU驱动程序和NVIDIA CUDA工具包_第2张图片

8. 安装NVIDIA驱动程序:

运行以下命令以安装NVIDIA驱动程序(将NVIDIA-Linux-x86_64-xxx.xx.run替换为您下载的实际驱动程序文件名):

sudo chmod +x NVIDIA-Linux-x86_64-xxx.xx.run
sudo ./NVIDIA-Linux-x86_64-xxx.xx.run

按照安装程序的提示进行安装。在安装过程中,可能会询问您是否希望将NVIDIA驱动程序设置为默认的OpenGL实现。如果您是在服务器上安装,通常选择"no"。
安装过程:
Linux CentOS安装NVIDIA GPU驱动程序和NVIDIA CUDA工具包_第3张图片
安装成功:

$ sudo ./NVIDIA-Linux-x86_64-460.106.00.run
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 460.106.00...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

9. 安装CUDA工具包:

运行以下命令以安装CUDA工具包(将cuda_xxx.xx.xx_linux.run替换为您下载的实际CUDA工具包文件名):

sudo chmod +x cuda_xxx.xx.xx_linux.run
sudo ./cuda_xxx.xx.xx_linux.run

按照安装程序的提示进行安装。在安装过程中,可能需要接受许可协议和选择安装选项。根据您的需求选择合适的选项。

或者远程安装:

sudo yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
sudo yum clean all
sudo yum -y install nvidia-driver-latest-dkms
sudo yum -y install cuda

安装过程及输出:

[xxxx]$ sudo yum-config-manager --add-repo https://developer.download.nvidi                                                                           a.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
Loaded plugins: fastestmirror, langpacks
Repository 'epel' is missing name in configuration, using id
adding repo from: https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7                                                                           .repo
grabbing file https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.rep                                                                           o to /etc/yum.repos.d/cuda-rhel7.repo
repo saved to /etc/yum.repos.d/cuda-rhel7.repo
[xxxx]$ sudo yum clean all
Loaded plugins: fastestmirror, langpacks
Repository 'epel' is missing name in configuration, using id
Cleaning repos: base cuda-rhel7-x86_64 docker-ce-stable epel extras updates
Cleaning up list of fastest mirrors
[xxxx]$ sudo yum -y install nvidia-driver-latest-dkms
Loaded plugins: fastestmirror, langpacks
Repository 'epel' is missing name in configuration, using id
Determining fastest mirrors
epel/x86_64/metalink                                                       |  26 kB  00:00:00
 * base: centos.mirror.far.fi
 * epel: epel.mirror.serveriai.lt
 * extras: centos.mirror.far.fi
 * updates: centos.mirror.far.fi
base                                                                       | 3.6 kB  00:00:00
cuda-rhel7-x86_64                                                          | 3.0 kB  00:00:00
docker-ce-stable                                                           | 3.5 kB  00:00:00
epel                                                                       | 4.7 kB  00:00:00
extras                                                                     | 2.9 kB  00:00:00
updates                                                                    | 2.9 kB  00:00:00
(1/10): docker-ce-stable/7/x86_64/updateinfo                               |   55 B  00:00:00
(2/10): docker-ce-stable/7/x86_64/primary_db                               | 116 kB  00:00:00
(3/10): cuda-rhel7-x86_64/primary_db                                       | 2.1 MB  00:00:01
(4/10): base/7/x86_64/group_gz                                             | 153 kB  00:00:02
(5/10): epel/x86_64/group_gz                                               |  99 kB  00:00:01
epel/x86_64/primary_db         FAILED
http://mirror.de.leaseweb.net/epel/7/x86_64/repodata/4b31623aac417e09140aba503c78a89f51860e0b55fb7                                                                           a6532d095ad39f56f92-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(6/10): extras/7/x86_64/primary_db                                         | 250 kB  00:00:00
(7/10): epel/x86_64/updateinfo                                             | 1.0 MB  00:00:02
(8/10): updates/7/x86_64/primary_db                                        |  22 MB  00:00:10
(9/10): base/7/x86_64/primary_db                                           | 6.1 MB  00:00:14
(10/10): epel/x86_64/primary_db                                            | 7.0 MB  00:00:12
Resolving Dependencies
--> Running transaction check
---> Package nvidia-driver-latest-dkms.x86_64 3:535.86.10-1.el7 will be installed
--> Processing Dependency: kmod-nvidia-latest-dkms = 3:535.86.10 for package: 3:nvidia-driver-late                                                                           st-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-driver-latest-dkms-NVML(x86-64) = 3:535.86.10 for package: 3:nvi                                                                           dia-driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-driver-latest-dkms-NvFBCOpenGL(x86-64) = 3:535.86.10 for package                                                                           : 3:nvidia-driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-driver-latest-dkms-cuda(x86-64) = 3:535.86.10 for package: 3:nvi                                                                           dia-driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-driver-latest-dkms-cuda-libs(x86-64) = 3:535.86.10 for package:                                                                            3:nvidia-driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-driver-latest-dkms-devel(x86-64) = 3:535.86.10 for package: 3:nv                                                                           idia-driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-driver-latest-dkms-libs(x86-64) = 3:535.86.10 for package: 3:nvi                                                                           dia-driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-modprobe-latest-dkms(x86-64) = 3:535.86.10 for package: 3:nvidia                                                                           -driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: nvidia-xconfig-latest-dkms(x86-64) = 3:535.86.10 for package: 3:nvidia-                                                                           driver-latest-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: yum-plugin-nvidia for package: 3:nvidia-driver-latest-dkms-535.86.10-1.                                                                           el7.x86_64
--> Processing Dependency: libnvidia-glcore.so.535.86.10()(64bit) for package: 3:nvidia-driver-lat                                                                           est-dkms-535.86.10-1.el7.x86_64
--> Processing Dependency: libnvidia-tls.so.535.86.10()(64bit) for package: 3:nvidia-driver-latest                                                                           -dkms-535.86.10-1.el7.x86_64
--> Running transaction check
---> Package kmod-nvidia-latest-dkms.x86_64 3:535.86.10-1.el7 will be installed
---> Package nvidia-driver-latest-dkms-NVML.x86_64 3:535.86.10-1.el7 will be installed
---> Package nvidia-driver-latest-dkms-NvFBCOpenGL.x86_64 3:535.86.10-1.el7 will be installed
---> Package nvidia-driver-latest-dkms-cuda.x86_64 3:535.86.10-1.el7 will be installed
--> Processing Dependency: nvidia-persistenced-latest-dkms = 3:535.86.10 for package: 3:nvidia-dri                                                                           ver-latest-dkms-cuda-535.86.10-1.el7.x86_64
--> Processing Dependency: ocl-icd for package: 3:nvidia-driver-latest-dkms-cuda-535.86.10-1.el7.x                                                                           86_64
--> Processing Dependency: opencl-filesystem for package: 3:nvidia-driver-latest-dkms-cuda-535.86.                                                                           10-1.el7.x86_64
---> Package nvidia-driver-latest-dkms-cuda-libs.x86_64 3:535.86.10-1.el7 will be installed
---> Package nvidia-driver-latest-dkms-devel.x86_64 3:535.86.10-1.el7 will be installed
---> Package nvidia-driver-latest-dkms-libs.x86_64 3:535.86.10-1.el7 will be installed
--> Processing Dependency: libglvnd-opengl(x86-64) >= 1.0 for package: 3:nvidia-driver-latest-dkms                                                                           -libs-535.86.10-1.el7.x86_64
--> Processing Dependency: libvdpau(x86-64) >= 0.5 for package: 3:nvidia-driver-latest-dkms-libs-5                                                                           35.86.10-1.el7.x86_64
--> Processing Dependency: vulkan-filesystem for package: 3:nvidia-driver-latest-dkms-libs-535.86.                                                                           10-1.el7.x86_64
---> Package nvidia-modprobe-latest-dkms.x86_64 3:535.86.10-1.el7 will be installed
---> Package nvidia-xconfig-latest-dkms.x86_64 3:535.86.10-1.el7 will be installed
---> Package yum-plugin-nvidia.noarch 0:0.5-1.el7 will be installed
--> Running transaction check
---> Package libglvnd-opengl.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
---> Package libvdpau.x86_64 0:1.1.1-3.el7 will be installed
---> Package nvidia-persistenced-latest-dkms.x86_64 3:535.86.10-1.el7 will be installed
---> Package ocl-icd.x86_64 0:2.2.12-1.el7 will be installed
---> Package opencl-filesystem.noarch 0:1.0-5.el7 will be installed
---> Package vulkan-filesystem.noarch 0:1.1.97.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================
 Package                               Arch   Version                     Repository         Size
==================================================================================================
Installing:
 nvidia-driver-latest-dkms             x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64 157 M
Installing for dependencies:
 kmod-nvidia-latest-dkms               x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64  43 M
 libglvnd-opengl                       x86_64 1:1.0.1-0.8.git5baa1e5.el7  base               43 k
 libvdpau                              x86_64 1.1.1-3.el7                 base               34 k
 nvidia-driver-latest-dkms-NVML        x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64 529 k
 nvidia-driver-latest-dkms-NvFBCOpenGL x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64  60 k
 nvidia-driver-latest-dkms-cuda        x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64 332 k
 nvidia-driver-latest-dkms-cuda-libs   x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64  43 M
 nvidia-driver-latest-dkms-devel       x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64  19 k
 nvidia-driver-latest-dkms-libs        x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64 183 M
 nvidia-modprobe-latest-dkms           x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64  35 k
 nvidia-persistenced-latest-dkms       x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64  37 k
 nvidia-xconfig-latest-dkms            x86_64 3:535.86.10-1.el7           cuda-rhel7-x86_64  95 k
 ocl-icd                               x86_64 2.2.12-1.el7                epel               43 k
 opencl-filesystem                     noarch 1.0-5.el7                   epel              3.9 k
 vulkan-filesystem                     noarch 1.1.97.0-1.el7              base              6.3 k
 yum-plugin-nvidia                     noarch 0.5-1.el7                   cuda-rhel7-x86_64 9.8 k

Transaction Summary
==================================================================================================
Install  1 Package (+16 Dependent packages)

Total download size: 427 M
Installed size: 888 M
Downloading packages:
(1/17): libvdpau-1.1.1-3.el7.x86_64.rpm                                    |  34 kB  00:00:00
(2/17): libglvnd-opengl-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm                |  43 kB  00:00:02
warning: /var/cache/yum/x86_64/7/cuda-rhel7-x86_64/packages/kmod-nvidia-latest-dkms-535.86.10-1.el                                                                           7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d42d0685: NOKEY
Public key for kmod-nvidia-latest-dkms-535.86.10-1.el7.x86_64.rpm is not installed
(3/17): kmod-nvidia-latest-dkms-535.86.10-1.el7.x86_64.rpm                 |  43 MB  00:00:25
(4/17): nvidia-driver-latest-dkms-NVML-535.86.10-1.el7.x86_64.rpm          | 529 kB  00:00:00
(5/17): nvidia-driver-latest-dkms-NvFBCOpenGL-535.86.10-1.el7.x86_64.rpm   |  60 kB  00:00:00
(6/17): nvidia-driver-latest-dkms-cuda-535.86.10-1.el7.x86_64.rpm          | 332 kB  00:00:00
(7/17): nvidia-driver-latest-dkms-535.86.10-1.el7.x86_64.rpm               | 157 MB  00:00:50
(8/17): nvidia-driver-latest-dkms-devel-535.86.10-1.el7.x86_64.rpm         |  19 kB  00:00:00
(9/17): nvidia-driver-latest-dkms-cuda-libs-535.86.10-1.el7.x86_64.rpm     |  43 MB  00:00:24
(10/17): nvidia-modprobe-latest-dkms-535.86.10-1.el7.x86_64.rpm            |  35 kB  00:00:00
(11/17): nvidia-persistenced-latest-dkms-535.86.10-1.el7.x86_64.rpm        |  37 kB  00:00:00
(12/17): nvidia-xconfig-latest-dkms-535.86.10-1.el7.x86_64.rpm             |  95 kB  00:00:00
(13/17): yum-plugin-nvidia-0.5-1.el7.noarch.rpm                            | 9.8 kB  00:00:00
(14/17): vulkan-filesystem-1.1.97.0-1.el7.noarch.rpm                       | 6.3 kB  00:00:00
(15/17): opencl-filesystem-1.0-5.el7.noarch.rpm                            | 3.9 kB  00:00:00
(16/17): ocl-icd-2.2.12-1.el7.x86_64.rpm                                   |  43 kB  00:00:02
(17/17): nvidia-driver-latest-dkms-libs-535.86.10-1.el7.x86_64.rpm         | 183 MB  00:00:58
--------------------------------------------------------------------------------------------------
Total                                                             3.9 MB/s | 427 MB  00:01:48
Retrieving key from https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/D42D0685                                                                           .pub
Importing GPG key 0xD42D0685:
 Userid     : "cudatools "
 Fingerprint: 610c 7b14 e068 a878 070d a4e9 9cd0 a493 d42d 0685
 From       : https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/D42D0685.pub
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:libglvnd-opengl-1.0.1-0.8.git5baa1e5.el7.x86_64                             1/17
  Installing : vulkan-filesystem-1.1.97.0-1.el7.noarch                                       2/17
  Installing : libvdpau-1.1.1-3.el7.x86_64                                                   3/17
  Installing : ocl-icd-2.2.12-1.el7.x86_64                                                   4/17
  Installing : opencl-filesystem-1.0-5.el7.noarch                                            5/17
  Installing : yum-plugin-nvidia-0.5-1.el7.noarch                                            6/17
  Installing : 3:nvidia-driver-latest-dkms-libs-535.86.10-1.el7.x86_64                       7/17
  Installing : 3:nvidia-driver-latest-dkms-cuda-libs-535.86.10-1.el7.x86_64                  8/17
  Installing : 3:nvidia-driver-latest-dkms-NVML-535.86.10-1.el7.x86_64                       9/17
  Installing : 3:nvidia-modprobe-latest-dkms-535.86.10-1.el7.x86_64                         10/17
  Installing : 3:nvidia-persistenced-latest-dkms-535.86.10-1.el7.x86_64                     11/17
  Installing : 3:nvidia-driver-latest-dkms-cuda-535.86.10-1.el7.x86_64                      12/17
  Installing : 3:kmod-nvidia-latest-dkms-535.86.10-1.el7.x86_64                             13/17
  Installing : 3:nvidia-xconfig-latest-dkms-535.86.10-1.el7.x86_64                          14/17
  Installing : 3:nvidia-driver-latest-dkms-535.86.10-1.el7.x86_64                           15/17
  Installing : 3:nvidia-driver-latest-dkms-NvFBCOpenGL-535.86.10-1.el7.x86_64               16/17
  Installing : 3:nvidia-driver-latest-dkms-devel-535.86.10-1.el7.x86_64                     17/17
  Verifying  : 3:nvidia-driver-latest-dkms-NvFBCOpenGL-535.86.10-1.el7.x86_64                1/17
  Verifying  : 3:nvidia-driver-latest-dkms-535.86.10-1.el7.x86_64                            2/17
  Verifying  : yum-plugin-nvidia-0.5-1.el7.noarch                                            3/17
  Verifying  : 3:nvidia-driver-latest-dkms-libs-535.86.10-1.el7.x86_64                       4/17
  Verifying  : 3:nvidia-driver-latest-dkms-cuda-libs-535.86.10-1.el7.x86_64                  5/17
  Verifying  : 3:nvidia-driver-latest-dkms-NVML-535.86.10-1.el7.x86_64                       6/17
  Verifying  : 3:nvidia-persistenced-latest-dkms-535.86.10-1.el7.x86_64                      7/17
  Verifying  : 3:nvidia-modprobe-latest-dkms-535.86.10-1.el7.x86_64                          8/17
  Verifying  : opencl-filesystem-1.0-5.el7.noarch                                            9/17
  Verifying  : 3:nvidia-driver-latest-dkms-cuda-535.86.10-1.el7.x86_64                      10/17
  Verifying  : ocl-icd-2.2.12-1.el7.x86_64                                                  11/17
  Verifying  : 3:nvidia-driver-latest-dkms-devel-535.86.10-1.el7.x86_64                     12/17
  Verifying  : libvdpau-1.1.1-3.el7.x86_64                                                  13/17
  Verifying  : vulkan-filesystem-1.1.97.0-1.el7.noarch                                      14/17
  Verifying  : 3:kmod-nvidia-latest-dkms-535.86.10-1.el7.x86_64                             15/17
  Verifying  : 1:libglvnd-opengl-1.0.1-0.8.git5baa1e5.el7.x86_64                            16/17
  Verifying  : 3:nvidia-xconfig-latest-dkms-535.86.10-1.el7.x86_64                          17/17

Installed:
  nvidia-driver-latest-dkms.x86_64 3:535.86.10-1.el7

Dependency Installed:
  kmod-nvidia-latest-dkms.x86_64 3:535.86.10-1.el7
  libglvnd-opengl.x86_64 1:1.0.1-0.8.git5baa1e5.el7
  libvdpau.x86_64 0:1.1.1-3.el7
  nvidia-driver-latest-dkms-NVML.x86_64 3:535.86.10-1.el7
  nvidia-driver-latest-dkms-NvFBCOpenGL.x86_64 3:535.86.10-1.el7
  nvidia-driver-latest-dkms-cuda.x86_64 3:535.86.10-1.el7
  nvidia-driver-latest-dkms-cuda-libs.x86_64 3:535.86.10-1.el7
  nvidia-driver-latest-dkms-devel.x86_64 3:535.86.10-1.el7
  nvidia-driver-latest-dkms-libs.x86_64 3:535.86.10-1.el7
  nvidia-modprobe-latest-dkms.x86_64 3:535.86.10-1.el7
  nvidia-persistenced-latest-dkms.x86_64 3:535.86.10-1.el7
  nvidia-xconfig-latest-dkms.x86_64 3:535.86.10-1.el7
  ocl-icd.x86_64 0:2.2.12-1.el7
  opencl-filesystem.noarch 0:1.0-5.el7
  vulkan-filesystem.noarch 0:1.1.97.0-1.el7
  yum-plugin-nvidia.noarch 0:0.5-1.el7

Complete!
[xxxx]$ sudo yum -y install cuda
Loaded plugins: fastestmirror, langpacks, nvidia
Repository 'epel' is missing name in configuration, using id
Loading mirror speeds from cached hostfile
 * base: centos.mirror.far.fi
 * epel: epel.mirror.serveriai.lt
 * extras: centos.mirror.far.fi
 * updates: centos.mirror.far.fi
Resolving Dependencies
--> Running transaction check
---> Package cuda.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-12-2 >= 12.2.1 for package: cuda-12.2.1-1.x86_64
--> Running transaction check
---> Package cuda-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-demo-suite-12-2 >= 12.2.128 for package: cuda-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-runtime-12-2 >= 12.2.1 for package: cuda-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-toolkit-12-2 >= 12.2.1 for package: cuda-12-2-12.2.1-1.x86_64
--> Running transaction check
---> Package cuda-demo-suite-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-runtime-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-libraries-12-2 >= 12.2.1 for package: cuda-runtime-12-2-12.2.1-1.x86_64
---> Package cuda-toolkit-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-compiler-12-2 >= 12.2.1 for package: cuda-toolkit-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-documentation-12-2 >= 12.2.128 for package: cuda-toolkit-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-libraries-devel-12-2 >= 12.2.1 for package: cuda-toolkit-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvml-devel-12-2 >= 12.2.128 for package: cuda-toolkit-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-tools-12-2 >= 12.2.1 for package: cuda-toolkit-12-2-12.2.1-1.x86_64
--> Running transaction check
---> Package cuda-compiler-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-cuobjdump-12-2 >= 12.2.128 for package: cuda-compiler-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-cuxxfilt-12-2 >= 12.2.128 for package: cuda-compiler-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvcc-12-2 >= 12.2.128 for package: cuda-compiler-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvprune-12-2 >= 12.2.128 for package: cuda-compiler-12-2-12.2.1-1.x86_64
---> Package cuda-documentation-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-libraries-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-cudart-12-2 >= 12.2.128 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvrtc-12-2 >= 12.2.128 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-opencl-12-2 >= 12.2.128 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcublas-12-2 >= 12.2.4.5 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcufft-12-2 >= 11.0.8.91 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcufile-12-2 >= 1.7.1.12 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcurand-12-2 >= 10.3.3.129 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcusolver-12-2 >= 11.5.1.129 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcusparse-12-2 >= 12.1.2.129 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libnpp-12-2 >= 12.2.0.5 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libnvjitlink-12-2 >= 12.2.128 for package: cuda-libraries-12-2-12.2.1-1.x86_64
--> Processing Dependency: libnvjpeg-12-2 >= 12.2.1.2 for package: cuda-libraries-12-2-12.2.1-1.x86_64
---> Package cuda-libraries-devel-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-cccl-12-2 >= 12.2.128 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-cudart-devel-12-2 >= 12.2.128 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-driver-devel-12-2 >= 12.2.128 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvrtc-devel-12-2 >= 12.2.128 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-opencl-devel-12-2 >= 12.2.128 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-profiler-api-12-2 >= 12.2.128 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcublas-devel-12-2 >= 12.2.4.5 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcufft-devel-12-2 >= 11.0.8.91 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcufile-devel-12-2 >= 1.7.1.12 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcurand-devel-12-2 >= 10.3.3.129 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcusolver-devel-12-2 >= 11.5.1.129 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libcusparse-devel-12-2 >= 12.1.2.129 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libnpp-devel-12-2 >= 12.2.0.5 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libnvjitlink-devel-12-2 >= 12.2.128 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
--> Processing Dependency: libnvjpeg-devel-12-2 >= 12.2.1.2 for package: cuda-libraries-devel-12-2-12.2.1-1.x86_64
---> Package cuda-nvml-devel-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-tools-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-command-line-tools-12-2 >= 12.2.1 for package: cuda-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-visual-tools-12-2 >= 12.2.1 for package: cuda-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: gds-tools-12-2 >= 1.7.1.12 for package: cuda-tools-12-2-12.2.1-1.x86_64
--> Running transaction check
---> Package cuda-cccl-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-command-line-tools-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-cupti-12-2 >= 12.2.131 for package: cuda-command-line-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-gdb-12-2 >= 12.2.128 for package: cuda-command-line-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvdisasm-12-2 >= 12.2.128 for package: cuda-command-line-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvprof-12-2 >= 12.2.131 for package: cuda-command-line-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvtx-12-2 >= 12.2.128 for package: cuda-command-line-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-sanitizer-12-2 >= 12.2.128 for package: cuda-command-line-tools-12-2-12.2.1-1.x86_64
---> Package cuda-cudart-12-2.x86_64 0:12.2.128-1 will be installed
--> Processing Dependency: cuda-toolkit-12-2-config-common for package: cuda-cudart-12-2-12.2.128-1.x86_64
--> Processing Dependency: cuda-toolkit-12-config-common for package: cuda-cudart-12-2-12.2.128-1.x86_64
--> Processing Dependency: cuda-toolkit-config-common for package: cuda-cudart-12-2-12.2.128-1.x86_64
---> Package cuda-cudart-devel-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-cuobjdump-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-cuxxfilt-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-driver-devel-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-nvcc-12-2.x86_64 0:12.2.128-1 will be installed
--> Processing Dependency: cuda-crt-12-2 = 12.2.128 for package: cuda-nvcc-12-2-12.2.128-1.x86_64
--> Processing Dependency: cuda-nvvm-12-2 = 12.2.128 for package: cuda-nvcc-12-2-12.2.128-1.x86_64
---> Package cuda-nvprune-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-nvrtc-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-nvrtc-devel-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-opencl-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-opencl-devel-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-profiler-api-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-visual-tools-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: cuda-nsight-12-2 >= 12.2.128 for package: cuda-visual-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nsight-compute-12-2 >= 12.2.1 for package: cuda-visual-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nsight-systems-12-2 >= 12.2.1 for package: cuda-visual-tools-12-2-12.2.1-1.x86_64
--> Processing Dependency: cuda-nvvp-12-2 >= 12.2.131 for package: cuda-visual-tools-12-2-12.2.1-1.x86_64
---> Package gds-tools-12-2.x86_64 0:1.7.1.12-1 will be installed
---> Package libcublas-12-2.x86_64 0:12.2.4.5-1 will be installed
---> Package libcublas-devel-12-2.x86_64 0:12.2.4.5-1 will be installed
---> Package libcufft-12-2.x86_64 0:11.0.8.91-1 will be installed
---> Package libcufft-devel-12-2.x86_64 0:11.0.8.91-1 will be installed
---> Package libcufile-12-2.x86_64 0:1.7.1.12-1 will be installed
---> Package libcufile-devel-12-2.x86_64 0:1.7.1.12-1 will be installed
---> Package libcurand-12-2.x86_64 0:10.3.3.129-1 will be installed
---> Package libcurand-devel-12-2.x86_64 0:10.3.3.129-1 will be installed
---> Package libcusolver-12-2.x86_64 0:11.5.1.129-1 will be installed
---> Package libcusolver-devel-12-2.x86_64 0:11.5.1.129-1 will be installed
---> Package libcusparse-12-2.x86_64 0:12.1.2.129-1 will be installed
---> Package libcusparse-devel-12-2.x86_64 0:12.1.2.129-1 will be installed
---> Package libnpp-12-2.x86_64 0:12.2.0.5-1 will be installed
---> Package libnpp-devel-12-2.x86_64 0:12.2.0.5-1 will be installed
---> Package libnvjitlink-12-2.x86_64 0:12.2.128-1 will be installed
---> Package libnvjitlink-devel-12-2.x86_64 0:12.2.128-1 will be installed
---> Package libnvjpeg-12-2.x86_64 0:12.2.1.2-1 will be installed
---> Package libnvjpeg-devel-12-2.x86_64 0:12.2.1.2-1 will be installed
--> Running transaction check
---> Package cuda-crt-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-cupti-12-2.x86_64 0:12.2.131-1 will be installed
---> Package cuda-gdb-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-nsight-12-2.x86_64 0:12.2.128-1 will be installed
--> Processing Dependency: jre >= 1.7 for package: cuda-nsight-12-2-12.2.128-1.x86_64
---> Package cuda-nsight-compute-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: nsight-compute-2023.2.1 >= 2023.2.1.3 for package: cuda-nsight-compute-12-2-12.2.1-1.x86_64
---> Package cuda-nsight-systems-12-2.x86_64 0:12.2.1-1 will be installed
--> Processing Dependency: nsight-systems >= 2023.2.3.1001 for package: cuda-nsight-systems-12-2-12.2.1-1.x86_64
---> Package cuda-nvdisasm-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-nvprof-12-2.x86_64 0:12.2.131-1 will be installed
---> Package cuda-nvtx-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-nvvm-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-nvvp-12-2.x86_64 0:12.2.131-1 will be installed
---> Package cuda-sanitizer-12-2.x86_64 0:12.2.128-1 will be installed
---> Package cuda-toolkit-12-2-config-common.noarch 0:12.2.128-1 will be installed
---> Package cuda-toolkit-12-config-common.noarch 0:12.2.128-1 will be installed
---> Package cuda-toolkit-config-common.noarch 0:12.2.128-1 will be installed
--> Running transaction check
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.372.b07-1.el7_9 will be installed
--> Processing Dependency: java-1.8.0-openjdk-headless(x86-64) = 1:1.8.0.372.b07-1.el7_9 for package: 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: libjvm.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: libjava.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: libjvm.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: libjava.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64
---> Package nsight-compute-2023.2.1.x86_64 0:2023.2.1.3-1 will be installed
---> Package nsight-systems-2023.2.3.x86_64 0:2023.2.3.1001_32894139v0-0 will be installed
--> Processing Dependency: libxcb-icccm.so.4()(64bit) for package: nsight-systems-2023.2.3-2023.2.3.1001_32894139v0-0.x86_64
--> Processing Dependency: libxcb-image.so.0()(64bit) for package: nsight-systems-2023.2.3-2023.2.3.1001_32894139v0-0.x86_64
--> Processing Dependency: libxcb-keysyms.so.1()(64bit) for package: nsight-systems-2023.2.3-2023.2.3.1001_32894139v0-0.x86_64
--> Processing Dependency: libxcb-render-util.so.0()(64bit) for package: nsight-systems-2023.2.3-2023.2.3.1001_32894139v0-0.x86_64
--> Running transaction check
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.372.b07-1.el7_9 will be installed
--> Processing Dependency: tzdata-java >= 2022g for package: 1:java-1.8.0-openjdk-headless-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: copy-jdk-configs >= 3.3 for package: 1:java-1.8.0-openjdk-headless-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: lksctp-tools(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.372.b07-1.el7_9.x86_64
--> Processing Dependency: jpackage-utils for package: 1:java-1.8.0-openjdk-headless-1.8.0.372.b07-1.el7_9.x86_64
---> Package xcb-util-image.x86_64 0:0.4.0-2.el7 will be installed
---> Package xcb-util-keysyms.x86_64 0:0.4.0-1.el7 will be installed
---> Package xcb-util-renderutil.x86_64 0:0.3.9-3.el7 will be installed
---> Package xcb-util-wm.x86_64 0:0.4.1-5.el7 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package copy-jdk-configs.noarch 0:3.3-11.el7_9 will be installed
---> Package javapackages-tools.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-javapackages = 3.4.1-11.el7 for package: javapackages-tools-3.4.1-11.el7.noarch
---> Package lksctp-tools.x86_64 0:1.0.17-2.el7 will be installed
---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
---> Package tzdata-java.noarch 0:2023c-1.el7 will be installed
--> Running transaction check
---> Package python-javapackages.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-11.el7.noarch
--> Running transaction check
---> Package python-lxml.x86_64 0:3.2.1-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
 Package                                             Arch                       Version                                          Repository                             Size
=============================================================================================================================================================================
Installing:
 cuda                                                x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.3 k
Installing for dependencies:
 copy-jdk-configs                                    noarch                     3.3-11.el7_9                                     updates                                22 k
 cuda-12-2                                           x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.4 k
 cuda-cccl-12-2                                      x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     1.8 M
 cuda-command-line-tools-12-2                        x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.5 k
 cuda-compiler-12-2                                  x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.3 k
 cuda-crt-12-2                                       x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     110 k
 cuda-cudart-12-2                                    x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     218 k
 cuda-cudart-devel-12-2                              x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     2.0 M
 cuda-cuobjdump-12-2                                 x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     230 k
 cuda-cupti-12-2                                     x86_64                     12.2.131-1                                       cuda-rhel7-x86_64                      28 M
 cuda-cuxxfilt-12-2                                  x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     283 k
 cuda-demo-suite-12-2                                x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     5.1 M
 cuda-documentation-12-2                             x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     127 k
 cuda-driver-devel-12-2                              x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      41 k
 cuda-gdb-12-2                                       x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     5.9 M
 cuda-libraries-12-2                                 x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.6 k
 cuda-libraries-devel-12-2                           x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.8 k
 cuda-nsight-12-2                                    x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     113 M
 cuda-nsight-compute-12-2                            x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     9.9 k
 cuda-nsight-systems-12-2                            x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     9.4 k
 cuda-nvcc-12-2                                      x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      61 M
 cuda-nvdisasm-12-2                                  x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      48 M
 cuda-nvml-devel-12-2                                x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                     119 k
 cuda-nvprof-12-2                                    x86_64                     12.2.131-1                                       cuda-rhel7-x86_64                     5.0 M
 cuda-nvprune-12-2                                   x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      72 k
 cuda-nvrtc-12-2                                     x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      22 M
 cuda-nvrtc-devel-12-2                               x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      21 M
 cuda-nvtx-12-2                                      x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      88 k
 cuda-nvvm-12-2                                      x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      26 M
 cuda-nvvp-12-2                                      x86_64                     12.2.131-1                                       cuda-rhel7-x86_64                     115 M
 cuda-opencl-12-2                                    x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      34 k
 cuda-opencl-devel-12-2                              x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      95 k
 cuda-profiler-api-12-2                              x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      26 k
 cuda-runtime-12-2                                   x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.3 k
 cuda-sanitizer-12-2                                 x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      17 M
 cuda-toolkit-12-2                                   x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     8.7 k
 cuda-toolkit-12-2-config-common                     noarch                     12.2.128-1                                       cuda-rhel7-x86_64                     7.7 k
 cuda-toolkit-12-config-common                       noarch                     12.2.128-1                                       cuda-rhel7-x86_64                     7.9 k
 cuda-toolkit-config-common                          noarch                     12.2.128-1                                       cuda-rhel7-x86_64                     7.9 k
 cuda-tools-12-2                                     x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.3 k
 cuda-visual-tools-12-2                              x86_64                     12.2.1-1                                         cuda-rhel7-x86_64                     7.4 k
 gds-tools-12-2                                      x86_64                     1.7.1.12-1                                       cuda-rhel7-x86_64                      42 M
 java-1.8.0-openjdk                                  x86_64                     1:1.8.0.372.b07-1.el7_9                          updates                               317 k
 java-1.8.0-openjdk-headless                         x86_64                     1:1.8.0.372.b07-1.el7_9                          updates                                33 M
 javapackages-tools                                  noarch                     3.4.1-11.el7                                     base                                   73 k
 libcublas-12-2                                      x86_64                     12.2.4.5-1                                       cuda-rhel7-x86_64                     393 M
 libcublas-devel-12-2                                x86_64                     12.2.4.5-1                                       cuda-rhel7-x86_64                     445 M
 libcufft-12-2                                       x86_64                     11.0.8.91-1                                      cuda-rhel7-x86_64                      94 M
 libcufft-devel-12-2                                 x86_64                     11.0.8.91-1                                      cuda-rhel7-x86_64                     190 M
 libcufile-12-2                                      x86_64                     1.7.1.12-1                                       cuda-rhel7-x86_64                     1.1 M
 libcufile-devel-12-2                                x86_64                     1.7.1.12-1                                       cuda-rhel7-x86_64                     4.7 M
 libcurand-12-2                                      x86_64                     10.3.3.129-1                                     cuda-rhel7-x86_64                      53 M
 libcurand-devel-12-2                                x86_64                     10.3.3.129-1                                     cuda-rhel7-x86_64                      53 M
 libcusolver-12-2                                    x86_64                     11.5.1.129-1                                     cuda-rhel7-x86_64                     119 M
 libcusolver-devel-12-2                              x86_64                     11.5.1.129-1                                     cuda-rhel7-x86_64                      78 M
 libcusparse-12-2                                    x86_64                     12.1.2.129-1                                     cuda-rhel7-x86_64                     186 M
 libcusparse-devel-12-2                              x86_64                     12.1.2.129-1                                     cuda-rhel7-x86_64                     378 M
 libnpp-12-2                                         x86_64                     12.2.0.5-1                                       cuda-rhel7-x86_64                     151 M
 libnpp-devel-12-2                                   x86_64                     12.2.0.5-1                                       cuda-rhel7-x86_64                     148 M
 libnvjitlink-12-2                                   x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      19 M
 libnvjitlink-devel-12-2                             x86_64                     12.2.128-1                                       cuda-rhel7-x86_64                      18 M
 libnvjpeg-12-2                                      x86_64                     12.2.1.2-1                                       cuda-rhel7-x86_64                     3.3 M
 libnvjpeg-devel-12-2                                x86_64                     12.2.1.2-1                                       cuda-rhel7-x86_64                     3.0 M
 lksctp-tools                                        x86_64                     1.0.17-2.el7                                     base                                   88 k
 nsight-compute-2023.2.1                             x86_64                     2023.2.1.3-1                                     cuda-rhel7-x86_64                     816 M
 nsight-systems-2023.2.3                             x86_64                     2023.2.3.1001_32894139v0-0                       cuda-rhel7-x86_64                     299 M
 python-javapackages                                 noarch                     3.4.1-11.el7                                     base                                   31 k
 python-lxml                                         x86_64                     3.2.1-4.el7                                      base                                  758 k
 ttmkfdir                                            x86_64                     3.0.9-42.el7                                     base                                   48 k
 tzdata-java                                         noarch                     2023c-1.el7                                      updates                               186 k
 xcb-util-image                                      x86_64                     0.4.0-2.el7                                      base                                   15 k
 xcb-util-keysyms                                    x86_64                     0.4.0-1.el7                                      base                                   10 k
 xcb-util-renderutil                                 x86_64                     0.3.9-3.el7                                      base                                   12 k
 xcb-util-wm                                         x86_64                     0.4.1-5.el7                                      base                                   25 k
 xorg-x11-fonts-Type1                                noarch                     7.5-9.el7                                        base                                  521 k

Transaction Summary
=============================================================================================================================================================================
Install  1 Package (+75 Dependent packages)

Total download size: 3.9 G
Installed size: 7.1 G
Downloading packages:
(1/76): copy-jdk-configs-3.3-11.el7_9.noarch.rpm                                                                                                      |  22 kB  00:00:01
(2/76): cuda-12-2-12.2.1-1.x86_64.rpm                                                                                                                 | 7.4 kB  00:00:01
(3/76): cuda-12.2.1-1.x86_64.rpm                                                                                                                      | 7.3 kB  00:00:01
(4/76): cuda-command-line-tools-12-2-12.2.1-1.x86_64.rpm                                                                                              | 7.5 kB  00:00:00
(5/76): cuda-compiler-12-2-12.2.1-1.x86_64.rpm                                                                                                        | 7.3 kB  00:00:00
(6/76): cuda-crt-12-2-12.2.128-1.x86_64.rpm                                                                                                           | 110 kB  00:00:00
(7/76): cuda-cccl-12-2-12.2.128-1.x86_64.rpm                                                                                                          | 1.8 MB  00:00:00
(8/76): cuda-cudart-12-2-12.2.128-1.x86_64.rpm                                                                                                        | 218 kB  00:00:00
(9/76): cuda-cuobjdump-12-2-12.2.128-1.x86_64.rpm                                                                                                     | 230 kB  00:00:00
(10/76): cuda-cudart-devel-12-2-12.2.128-1.x86_64.rpm                                                                                                 | 2.0 MB  00:00:00
(11/76): cuda-cuxxfilt-12-2-12.2.128-1.x86_64.rpm                                                                                                     | 283 kB  00:00:00
(12/76): cuda-demo-suite-12-2-12.2.128-1.x86_64.rpm                                                                                                   | 5.1 MB  00:00:01
(13/76): cuda-documentation-12-2-12.2.128-1.x86_64.rpm                                                                                                | 127 kB  00:00:00
(14/76): cuda-driver-devel-12-2-12.2.128-1.x86_64.rpm                                                                                                 |  41 kB  00:00:00
(15/76): cuda-gdb-12-2-12.2.128-1.x86_64.rpm                                                                                                          | 5.9 MB  00:00:02
(16/76): cuda-libraries-12-2-12.2.1-1.x86_64.rpm                                                                                                      | 7.6 kB  00:00:00
(17/76): cuda-libraries-devel-12-2-12.2.1-1.x86_64.rpm                                                                                                | 7.8 kB  00:00:00
(18/76): cuda-cupti-12-2-12.2.131-1.x86_64.rpm                                                                                                        |  28 MB  00:00:15
(19/76): cuda-nsight-compute-12-2-12.2.1-1.x86_64.rpm                                                                                                 | 9.9 kB  00:00:00
(20/76): cuda-nsight-systems-12-2-12.2.1-1.x86_64.rpm                                                                                                 | 9.4 kB  00:00:00
(21/76): cuda-nsight-12-2-12.2.128-1.x86_64.rpm                                                                                                       | 113 MB  00:00:34
(22/76): cuda-nvcc-12-2-12.2.128-1.x86_64.rpm                                                                                                         |  61 MB  00:00:33
(23/76): cuda-nvml-devel-12-2-12.2.128-1.x86_64.rpm                                                                                                   | 119 kB  00:00:00
(24/76): cuda-nvprof-12-2-12.2.131-1.x86_64.rpm                                                                                                       | 5.0 MB  00:00:02
(25/76): cuda-nvprune-12-2-12.2.128-1.x86_64.rpm                                                                                                      |  72 kB  00:00:00
(26/76): cuda-nvdisasm-12-2-12.2.128-1.x86_64.rpm                                                                                                     |  48 MB  00:00:14
(27/76): cuda-nvrtc-devel-12-2-12.2.128-1.x86_64.rpm                                                                                                  |  21 MB  00:00:06
(28/76): cuda-nvtx-12-2-12.2.128-1.x86_64.rpm                                                                                                         |  88 kB  00:00:00
(29/76): cuda-nvrtc-12-2-12.2.128-1.x86_64.rpm                                                                                                        |  22 MB  00:00:13
(30/76): cuda-nvvm-12-2-12.2.128-1.x86_64.rpm                                                                                                         |  26 MB  00:00:08
(31/76): cuda-opencl-12-2-12.2.128-1.x86_64.rpm                                                                                                       |  34 kB  00:00:00
(32/76): cuda-opencl-devel-12-2-12.2.128-1.x86_64.rpm                                                                                                 |  95 kB  00:00:00
(33/76): cuda-profiler-api-12-2-12.2.128-1.x86_64.rpm                                                                                                 |  26 kB  00:00:00
(34/76): cuda-runtime-12-2-12.2.1-1.x86_64.rpm                                                                                                        | 7.3 kB  00:00:00
(35/76): cuda-sanitizer-12-2-12.2.128-1.x86_64.rpm                                                                                                    |  17 MB  00:00:05
(36/76): cuda-toolkit-12-2-12.2.1-1.x86_64.rpm                                                                                                        | 8.7 kB  00:00:00
(37/76): cuda-toolkit-12-2-config-common-12.2.128-1.noarch.rpm                                                                                        | 7.7 kB  00:00:00
(38/76): cuda-toolkit-12-config-common-12.2.128-1.noarch.rpm                                                                                          | 7.9 kB  00:00:00
(39/76): cuda-toolkit-config-common-12.2.128-1.noarch.rpm                                                                                             | 7.9 kB  00:00:00
(40/76): cuda-tools-12-2-12.2.1-1.x86_64.rpm                                                                                                          | 7.3 kB  00:00:00
(41/76): cuda-visual-tools-12-2-12.2.1-1.x86_64.rpm                                                                                                   | 7.4 kB  00:00:00
(42/76): java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64.rpm                                                                                          | 317 kB  00:00:01
(43/76): javapackages-tools-3.4.1-11.el7.noarch.rpm                                                                                                   |  73 kB  00:00:01
(44/76): java-1.8.0-openjdk-headless-1.8.0.372.b07-1.el7_9.x86_64.rpm                                                                                 |  33 MB  00:00:14
(45/76): gds-tools-12-2-1.7.1.12-1.x86_64.rpm                                                                                                         |  42 MB  00:00:15
(46/76): cuda-nvvp-12-2-12.2.131-1.x86_64.rpm                                                                                                         | 115 MB  00:01:05
(47/76): libcublas-12-2-12.2.4.5-1.x86_64.rpm                                                                                                         | 393 MB  00:01:59
(48/76): libcufft-12-2-11.0.8.91-1.x86_64.rpm                                                                                                         |  94 MB  00:00:29
(49/76): libcufft-devel-12-2-11.0.8.91-1.x86_64.rpm                                                                                                   | 190 MB  00:01:03
(50/76): libcufile-12-2-1.7.1.12-1.x86_64.rpm                                                                                                         | 1.1 MB  00:00:00
(51/76): libcufile-devel-12-2-1.7.1.12-1.x86_64.rpm                                                                                                   | 4.7 MB  00:00:01
(52/76): libcurand-12-2-10.3.3.129-1.x86_64.rpm                                                                                                       |  53 MB  00:00:16
(53/76): libcurand-devel-12-2-10.3.3.129-1.x86_64.rpm                                                                                                 |  53 MB  00:00:28
(54/76): libcublas-devel-12-2-12.2.4.5-1.x86_64.rpm                                                                                                   | 445 MB  00:04:07
(55/76): libcusolver-12-2-11.5.1.129-1.x86_64.rpm                                                                                                     | 119 MB  00:01:03
(56/76): libcusolver-devel-12-2-11.5.1.129-1.x86_64.rpm                                                                                               |  78 MB  00:00:40
(57/76): libcusparse-12-2-12.1.2.129-1.x86_64.rpm                                                                                                     | 186 MB  00:01:38
(58/76): libnpp-12-2-12.2.0.5-1.x86_64.rpm                                                                                                            | 151 MB  00:01:19
(59/76): libcusparse-devel-12-2-12.1.2.129-1.x86_64.rpm                                                                                               | 378 MB  00:03:17
(60/76): libnvjitlink-12-2-12.2.128-1.x86_64.rpm                                                                                                      |  19 MB  00:00:06
(61/76): libnvjitlink-devel-12-2-12.2.128-1.x86_64.rpm                                                                                                |  18 MB  00:00:05
(62/76): libnvjpeg-12-2-12.2.1.2-1.x86_64.rpm                                                                                                         | 3.3 MB  00:00:01
(63/76): libnvjpeg-devel-12-2-12.2.1.2-1.x86_64.rpm                                                                                                   | 3.0 MB  00:00:01
(64/76): lksctp-tools-1.0.17-2.el7.x86_64.rpm                                                                                                         |  88 kB  00:00:01
(65/76): libnpp-devel-12-2-12.2.0.5-1.x86_64.rpm                                                                                                      | 148 MB  00:00:46
(66/76): python-javapackages-3.4.1-11.el7.noarch.rpm                                                                                                  |  31 kB  00:00:00
(67/76): ttmkfdir-3.0.9-42.el7.x86_64.rpm                                                                                                             |  48 kB  00:00:01
(68/76): xcb-util-image-0.4.0-2.el7.x86_64.rpm                                                                                                        |  15 kB  00:00:00
(69/76): python-lxml-3.2.1-4.el7.x86_64.rpm                                                                                                           | 758 kB  00:00:01
(70/76): xcb-util-keysyms-0.4.0-1.el7.x86_64.rpm                                                                                                      |  10 kB  00:00:00
(71/76): xcb-util-renderutil-0.3.9-3.el7.x86_64.rpm                                                                                                   |  12 kB  00:00:00
(72/76): xcb-util-wm-0.4.1-5.el7.x86_64.rpm                                                                                                           |  25 kB  00:00:00
(73/76): xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm                                                                                                    | 521 kB  00:00:00
(74/76): tzdata-java-2023c-1.el7.noarch.rpm                                                                                                           | 186 kB  00:00:02
(75/76): nsight-systems-2023.2.3-2023.2.3.1001_3289413-0.x86_64.rpm                                                                                   | 299 MB  00:02:32
(76/76): nsight-compute-2023.2.1-2023.2.1.3-1.x86_64.rpm                                                                                              | 816 MB  00:04:10
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                        4.5 MB/s | 3.9 GB  00:14:45
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : cuda-toolkit-12-config-common-12.2.128-1.noarch                                                                                                          1/76
  Installing : cuda-toolkit-12-2-config-common-12.2.128-1.noarch                                                                                                        2/76
  Installing : cuda-toolkit-config-common-12.2.128-1.noarch                                                                                                             3/76
  Installing : libcurand-12-2-10.3.3.129-1.x86_64                                                                                                                       4/76
  Installing : libcufile-12-2-1.7.1.12-1.x86_64                                                                                                                         5/76
  Installing : libcublas-12-2-12.2.4.5-1.x86_64                                                                                                                         6/76
  Installing : libcusparse-12-2-12.1.2.129-1.x86_64                                                                                                                     7/76
  Installing : libnpp-12-2-12.2.0.5-1.x86_64                                                                                                                            8/76
  Installing : cuda-opencl-12-2-12.2.128-1.x86_64                                                                                                                       9/76
  Installing : libnvjpeg-12-2-12.2.1.2-1.x86_64                                                                                                                        10/76
  Installing : libcufft-12-2-11.0.8.91-1.x86_64                                                                                                                        11/76
  Installing : cuda-cudart-12-2-12.2.128-1.x86_64                                                                                                                      12/76
  Installing : libcusolver-12-2-11.5.1.129-1.x86_64                                                                                                                    13/76
  Installing : libnvjitlink-12-2-12.2.128-1.x86_64                                                                                                                     14/76
  Installing : cuda-cccl-12-2-12.2.128-1.x86_64                                                                                                                        15/76
  Installing : cuda-nvrtc-12-2-12.2.128-1.x86_64                                                                                                                       16/76
  Installing : cuda-libraries-12-2-12.2.1-1.x86_64                                                                                                                     17/76
  Installing : cuda-nvdisasm-12-2-12.2.128-1.x86_64                                                                                                                    18/76
  Installing : cuda-nvprof-12-2-12.2.131-1.x86_64                                                                                                                      19/76
  Installing : cuda-nvml-devel-12-2-12.2.128-1.x86_64                                                                                                                  20/76
  Installing : cuda-runtime-12-2-12.2.1-1.x86_64                                                                                                                       21/76
  Installing : cuda-nvrtc-devel-12-2-12.2.128-1.x86_64                                                                                                                 22/76
  Installing : cuda-cudart-devel-12-2-12.2.128-1.x86_64                                                                                                                23/76
  Installing : libnvjitlink-devel-12-2-12.2.128-1.x86_64                                                                                                               24/76
  Installing : libcusolver-devel-12-2-11.5.1.129-1.x86_64                                                                                                              25/76
  Installing : libcufft-devel-12-2-11.0.8.91-1.x86_64                                                                                                                  26/76
  Installing : libnvjpeg-devel-12-2-12.2.1.2-1.x86_64                                                                                                                  27/76
  Installing : cuda-opencl-devel-12-2-12.2.128-1.x86_64                                                                                                                28/76
  Installing : libnpp-devel-12-2-12.2.0.5-1.x86_64                                                                                                                     29/76
  Installing : libcusparse-devel-12-2-12.1.2.129-1.x86_64                                                                                                              30/76
  Installing : libcublas-devel-12-2-12.2.4.5-1.x86_64                                                                                                                  31/76
  Installing : libcufile-devel-12-2-1.7.1.12-1.x86_64                                                                                                                  32/76
  Installing : libcurand-devel-12-2-10.3.3.129-1.x86_64                                                                                                                33/76
  Installing : tzdata-java-2023c-1.el7.noarch                                                                                                                          34/76
  Installing : cuda-demo-suite-12-2-12.2.128-1.x86_64                                                                                                                  35/76
  Installing : cuda-cuxxfilt-12-2-12.2.128-1.x86_64                                                                                                                    36/76
  Installing : cuda-nvprune-12-2-12.2.128-1.x86_64                                                                                                                     37/76
  Installing : xcb-util-image-0.4.0-2.el7.x86_64                                                                                                                       38/76
  Installing : cuda-cuobjdump-12-2-12.2.128-1.x86_64                                                                                                                   39/76
  Installing : copy-jdk-configs-3.3-11.el7_9.noarch                                                                                                                    40/76
  Installing : xcb-util-wm-0.4.1-5.el7.x86_64                                                                                                                          41/76
  Installing : cuda-driver-devel-12-2-12.2.128-1.x86_64                                                                                                                42/76
  Installing : cuda-gdb-12-2-12.2.128-1.x86_64                                                                                                                         43/76
  Installing : xcb-util-renderutil-0.3.9-3.el7.x86_64                                                                                                                  44/76
  Installing : cuda-profiler-api-12-2-12.2.128-1.x86_64                                                                                                                45/76
  Installing : cuda-libraries-devel-12-2-12.2.1-1.x86_64                                                                                                               46/76
  Installing : lksctp-tools-1.0.17-2.el7.x86_64                                                                                                                        47/76
  Installing : cuda-nvvm-12-2-12.2.128-1.x86_64                                                                                                                        48/76
  Installing : nsight-compute-2023.2.1-2023.2.1.3-1.x86_64                                                                                                             49/76
  Installing : cuda-nsight-compute-12-2-12.2.1-1.x86_64                                                                                                                50/76
  Installing : cuda-crt-12-2-12.2.128-1.x86_64                                                                                                                         51/76
  Installing : cuda-nvcc-12-2-12.2.128-1.x86_64                                                                                                                        52/76
  Installing : cuda-compiler-12-2-12.2.1-1.x86_64                                                                                                                      53/76
  Installing : xcb-util-keysyms-0.4.0-1.el7.x86_64                                                                                                                     54/76
  Installing : nsight-systems-2023.2.3-2023.2.3.1001_32894139v0-0.x86_64                                                                                               55/76
  Installing : cuda-nsight-systems-12-2-12.2.1-1.x86_64                                                                                                                56/76
  Installing : cuda-cupti-12-2-12.2.131-1.x86_64                                                                                                                       57/76
  Installing : python-lxml-3.2.1-4.el7.x86_64                                                                                                                          58/76
  Installing : python-javapackages-3.4.1-11.el7.noarch                                                                                                                 59/76
  Installing : javapackages-tools-3.4.1-11.el7.noarch                                                                                                                  60/76
  Installing : 1:java-1.8.0-openjdk-headless-1.8.0.372.b07-1.el7_9.x86_64                                                                                              61/76
  Installing : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                            62/76
  Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                                   63/76
  Installing : 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64                                                                                                       64/76
  Installing : cuda-nsight-12-2-12.2.128-1.x86_64                                                                                                                      65/76
  Installing : cuda-nvvp-12-2-12.2.131-1.x86_64                                                                                                                        66/76
  Installing : cuda-visual-tools-12-2-12.2.1-1.x86_64                                                                                                                  67/76
  Installing : cuda-documentation-12-2-12.2.128-1.x86_64                                                                                                               68/76
  Installing : gds-tools-12-2-1.7.1.12-1.x86_64                                                                                                                        69/76
  Installing : cuda-nvtx-12-2-12.2.128-1.x86_64                                                                                                                        70/76
  Installing : cuda-sanitizer-12-2-12.2.128-1.x86_64                                                                                                                   71/76
  Installing : cuda-command-line-tools-12-2-12.2.1-1.x86_64                                                                                                            72/76
  Installing : cuda-tools-12-2-12.2.1-1.x86_64                                                                                                                         73/76
  Installing : cuda-toolkit-12-2-12.2.1-1.x86_64                                                                                                                       74/76
  Installing : cuda-12-2-12.2.1-1.x86_64                                                                                                                               75/76
  Installing : cuda-12.2.1-1.x86_64                                                                                                                                    76/76
  Verifying  : cuda-nvml-devel-12-2-12.2.128-1.x86_64                                                                                                                   1/76
  Verifying  : python-javapackages-3.4.1-11.el7.noarch                                                                                                                  2/76
  Verifying  : cuda-nvtx-12-2-12.2.128-1.x86_64                                                                                                                         3/76
  Verifying  : javapackages-tools-3.4.1-11.el7.noarch                                                                                                                   4/76
  Verifying  : gds-tools-12-2-1.7.1.12-1.x86_64                                                                                                                         5/76
  Verifying  : cuda-documentation-12-2-12.2.128-1.x86_64                                                                                                                6/76
  Verifying  : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                             7/76
  Verifying  : cuda-toolkit-12-2-12.2.1-1.x86_64                                                                                                                        8/76
  Verifying  : python-lxml-3.2.1-4.el7.x86_64                                                                                                                           9/76
  Verifying  : cuda-cupti-12-2-12.2.131-1.x86_64                                                                                                                       10/76
  Verifying  : cuda-toolkit-config-common-12.2.128-1.noarch                                                                                                            11/76
  Verifying  : xcb-util-keysyms-0.4.0-1.el7.x86_64                                                                                                                     12/76
  Verifying  : libcurand-12-2-10.3.3.129-1.x86_64                                                                                                                      13/76
  Verifying  : 1:java-1.8.0-openjdk-headless-1.8.0.372.b07-1.el7_9.x86_64                                                                                              14/76
  Verifying  : cuda-tools-12-2-12.2.1-1.x86_64                                                                                                                         15/76
  Verifying  : libcufile-12-2-1.7.1.12-1.x86_64                                                                                                                        16/76
  Verifying  : cuda-compiler-12-2-12.2.1-1.x86_64                                                                                                                      17/76
  Verifying  : cuda-nvrtc-devel-12-2-12.2.128-1.x86_64                                                                                                                 18/76
  Verifying  : cuda-nsight-12-2-12.2.128-1.x86_64                                                                                                                      19/76
  Verifying  : libcublas-12-2-12.2.4.5-1.x86_64                                                                                                                        20/76
  Verifying  : cuda-crt-12-2-12.2.128-1.x86_64                                                                                                                         21/76
  Verifying  : cuda-toolkit-12-2-config-common-12.2.128-1.noarch                                                                                                       22/76
  Verifying  : libcusparse-12-2-12.1.2.129-1.x86_64                                                                                                                    23/76
  Verifying  : libnpp-12-2-12.2.0.5-1.x86_64                                                                                                                           24/76
  Verifying  : nsight-compute-2023.2.1-2023.2.1.3-1.x86_64                                                                                                             25/76
  Verifying  : libcusparse-devel-12-2-12.1.2.129-1.x86_64                                                                                                              26/76
  Verifying  : cuda-nvvm-12-2-12.2.128-1.x86_64                                                                                                                        27/76
  Verifying  : cuda-nvprof-12-2-12.2.131-1.x86_64                                                                                                                      28/76
  Verifying  : cuda-nvcc-12-2-12.2.128-1.x86_64                                                                                                                        29/76
  Verifying  : cuda-toolkit-12-config-common-12.2.128-1.noarch                                                                                                         30/76
  Verifying  : cuda-opencl-devel-12-2-12.2.128-1.x86_64                                                                                                                31/76
  Verifying  : cuda-nvdisasm-12-2-12.2.128-1.x86_64                                                                                                                    32/76
  Verifying  : lksctp-tools-1.0.17-2.el7.x86_64                                                                                                                        33/76
  Verifying  : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                                   34/76
  Verifying  : cuda-libraries-12-2-12.2.1-1.x86_64                                                                                                                     35/76
  Verifying  : cuda-runtime-12-2-12.2.1-1.x86_64                                                                                                                       36/76
  Verifying  : libcusolver-devel-12-2-11.5.1.129-1.x86_64                                                                                                              37/76
  Verifying  : cuda-nvrtc-12-2-12.2.128-1.x86_64                                                                                                                       38/76
  Verifying  : libnpp-devel-12-2-12.2.0.5-1.x86_64                                                                                                                     39/76
  Verifying  : cuda-profiler-api-12-2-12.2.128-1.x86_64                                                                                                                40/76
  Verifying  : cuda-opencl-12-2-12.2.128-1.x86_64                                                                                                                      41/76
  Verifying  : libnvjpeg-12-2-12.2.1.2-1.x86_64                                                                                                                        42/76
  Verifying  : libcurand-devel-12-2-10.3.3.129-1.x86_64                                                                                                                43/76
  Verifying  : xcb-util-renderutil-0.3.9-3.el7.x86_64                                                                                                                  44/76
  Verifying  : libcufft-12-2-11.0.8.91-1.x86_64                                                                                                                        45/76
  Verifying  : cuda-gdb-12-2-12.2.128-1.x86_64                                                                                                                         46/76
  Verifying  : cuda-nsight-compute-12-2-12.2.1-1.x86_64                                                                                                                47/76
  Verifying  : nsight-systems-2023.2.3-2023.2.3.1001_32894139v0-0.x86_64                                                                                               48/76
  Verifying  : cuda-libraries-devel-12-2-12.2.1-1.x86_64                                                                                                               49/76
  Verifying  : cuda-nvvp-12-2-12.2.131-1.x86_64                                                                                                                        50/76
  Verifying  : cuda-cudart-12-2-12.2.128-1.x86_64                                                                                                                      51/76
  Verifying  : libcublas-devel-12-2-12.2.4.5-1.x86_64                                                                                                                  52/76
  Verifying  : cuda-driver-devel-12-2-12.2.128-1.x86_64                                                                                                                53/76
  Verifying  : xcb-util-wm-0.4.1-5.el7.x86_64                                                                                                                          54/76
  Verifying  : libcufft-devel-12-2-11.0.8.91-1.x86_64                                                                                                                  55/76
  Verifying  : cuda-visual-tools-12-2-12.2.1-1.x86_64                                                                                                                  56/76
  Verifying  : copy-jdk-configs-3.3-11.el7_9.noarch                                                                                                                    57/76
  Verifying  : cuda-12-2-12.2.1-1.x86_64                                                                                                                               58/76
  Verifying  : cuda-cuobjdump-12-2-12.2.128-1.x86_64                                                                                                                   59/76
  Verifying  : cuda-12.2.1-1.x86_64                                                                                                                                    60/76
  Verifying  : cuda-cccl-12-2-12.2.128-1.x86_64                                                                                                                        61/76
  Verifying  : libcufile-devel-12-2-1.7.1.12-1.x86_64                                                                                                                  62/76
  Verifying  : xcb-util-image-0.4.0-2.el7.x86_64                                                                                                                       63/76
  Verifying  : cuda-command-line-tools-12-2-12.2.1-1.x86_64                                                                                                            64/76
  Verifying  : cuda-nvprune-12-2-12.2.128-1.x86_64                                                                                                                     65/76
  Verifying  : libnvjpeg-devel-12-2-12.2.1.2-1.x86_64                                                                                                                  66/76
  Verifying  : libcusolver-12-2-11.5.1.129-1.x86_64                                                                                                                    67/76
  Verifying  : 1:java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64                                                                                                       68/76
  Verifying  : cuda-cuxxfilt-12-2-12.2.128-1.x86_64                                                                                                                    69/76
  Verifying  : cuda-cudart-devel-12-2-12.2.128-1.x86_64                                                                                                                70/76
  Verifying  : cuda-demo-suite-12-2-12.2.128-1.x86_64                                                                                                                  71/76
  Verifying  : tzdata-java-2023c-1.el7.noarch                                                                                                                          72/76
  Verifying  : cuda-sanitizer-12-2-12.2.128-1.x86_64                                                                                                                   73/76
  Verifying  : libnvjitlink-12-2-12.2.128-1.x86_64                                                                                                                     74/76
  Verifying  : cuda-nsight-systems-12-2-12.2.1-1.x86_64                                                                                                                75/76
  Verifying  : libnvjitlink-devel-12-2-12.2.128-1.x86_64                                                                                                               76/76

Installed:
  cuda.x86_64 0:12.2.1-1

Dependency Installed:
  copy-jdk-configs.noarch 0:3.3-11.el7_9              cuda-12-2.x86_64 0:12.2.1-1                                cuda-cccl-12-2.x86_64 0:12.2.128-1
  cuda-command-line-tools-12-2.x86_64 0:12.2.1-1      cuda-compiler-12-2.x86_64 0:12.2.1-1                       cuda-crt-12-2.x86_64 0:12.2.128-1
  cuda-cudart-12-2.x86_64 0:12.2.128-1                cuda-cudart-devel-12-2.x86_64 0:12.2.128-1                 cuda-cuobjdump-12-2.x86_64 0:12.2.128-1
  cuda-cupti-12-2.x86_64 0:12.2.131-1                 cuda-cuxxfilt-12-2.x86_64 0:12.2.128-1                     cuda-demo-suite-12-2.x86_64 0:12.2.128-1
  cuda-documentation-12-2.x86_64 0:12.2.128-1         cuda-driver-devel-12-2.x86_64 0:12.2.128-1                 cuda-gdb-12-2.x86_64 0:12.2.128-1
  cuda-libraries-12-2.x86_64 0:12.2.1-1               cuda-libraries-devel-12-2.x86_64 0:12.2.1-1                cuda-nsight-12-2.x86_64 0:12.2.128-1
  cuda-nsight-compute-12-2.x86_64 0:12.2.1-1          cuda-nsight-systems-12-2.x86_64 0:12.2.1-1                 cuda-nvcc-12-2.x86_64 0:12.2.128-1
  cuda-nvdisasm-12-2.x86_64 0:12.2.128-1              cuda-nvml-devel-12-2.x86_64 0:12.2.128-1                   cuda-nvprof-12-2.x86_64 0:12.2.131-1
  cuda-nvprune-12-2.x86_64 0:12.2.128-1               cuda-nvrtc-12-2.x86_64 0:12.2.128-1                        cuda-nvrtc-devel-12-2.x86_64 0:12.2.128-1
  cuda-nvtx-12-2.x86_64 0:12.2.128-1                  cuda-nvvm-12-2.x86_64 0:12.2.128-1                         cuda-nvvp-12-2.x86_64 0:12.2.131-1
  cuda-opencl-12-2.x86_64 0:12.2.128-1                cuda-opencl-devel-12-2.x86_64 0:12.2.128-1                 cuda-profiler-api-12-2.x86_64 0:12.2.128-1
  cuda-runtime-12-2.x86_64 0:12.2.1-1                 cuda-sanitizer-12-2.x86_64 0:12.2.128-1                    cuda-toolkit-12-2.x86_64 0:12.2.1-1
  cuda-toolkit-12-2-config-common.noarch 0:12.2.128-1 cuda-toolkit-12-config-common.noarch 0:12.2.128-1          cuda-toolkit-config-common.noarch 0:12.2.128-1
  cuda-tools-12-2.x86_64 0:12.2.1-1                   cuda-visual-tools-12-2.x86_64 0:12.2.1-1                   gds-tools-12-2.x86_64 0:1.7.1.12-1
  java-1.8.0-openjdk.x86_64 1:1.8.0.372.b07-1.el7_9   java-1.8.0-openjdk-headless.x86_64 1:1.8.0.372.b07-1.el7_9 javapackages-tools.noarch 0:3.4.1-11.el7
  libcublas-12-2.x86_64 0:12.2.4.5-1                  libcublas-devel-12-2.x86_64 0:12.2.4.5-1                   libcufft-12-2.x86_64 0:11.0.8.91-1
  libcufft-devel-12-2.x86_64 0:11.0.8.91-1            libcufile-12-2.x86_64 0:1.7.1.12-1                         libcufile-devel-12-2.x86_64 0:1.7.1.12-1
  libcurand-12-2.x86_64 0:10.3.3.129-1                libcurand-devel-12-2.x86_64 0:10.3.3.129-1                 libcusolver-12-2.x86_64 0:11.5.1.129-1
  libcusolver-devel-12-2.x86_64 0:11.5.1.129-1        libcusparse-12-2.x86_64 0:12.1.2.129-1                     libcusparse-devel-12-2.x86_64 0:12.1.2.129-1
  libnpp-12-2.x86_64 0:12.2.0.5-1                     libnpp-devel-12-2.x86_64 0:12.2.0.5-1                      libnvjitlink-12-2.x86_64 0:12.2.128-1
  libnvjitlink-devel-12-2.x86_64 0:12.2.128-1         libnvjpeg-12-2.x86_64 0:12.2.1.2-1                         libnvjpeg-devel-12-2.x86_64 0:12.2.1.2-1
  lksctp-tools.x86_64 0:1.0.17-2.el7                  nsight-compute-2023.2.1.x86_64 0:2023.2.1.3-1              nsight-systems-2023.2.3.x86_64 0:2023.2.3.1001_32894139v0-0
  python-javapackages.noarch 0:3.4.1-11.el7           python-lxml.x86_64 0:3.2.1-4.el7                           ttmkfdir.x86_64 0:3.0.9-42.el7
  tzdata-java.noarch 0:2023c-1.el7                    xcb-util-image.x86_64 0:0.4.0-2.el7                        xcb-util-keysyms.x86_64 0:0.4.0-1.el7
  xcb-util-renderutil.x86_64 0:0.3.9-3.el7            xcb-util-wm.x86_64 0:0.4.1-5.el7                           xorg-x11-fonts-Type1.noarch 0:7.5-9.el7

Complete!

10. 配置环境变量:

打开终端,并编辑~/.bashrc文件(或者您使用的Shell的配置文件):

vi ~/.bashrc

在文件末尾添加以下行以设置NVIDIA驱动程序和CUDA的环境变量:

export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH

保存并关闭文件。

11. 更新环境变量:

运行以下命令以使环境变量生效:

source ~/.bashrc

12. 完成安装:

重新启动系统以使NVIDIA驱动程序和CUDA工具包的安装生效:

sudo reboot

完成上述步骤后,您应该已成功安装了NVIDIA驱动程序和NVIDIA CUDA工具包。您可以使用nvidia-smi命令来检查NVIDIA驱动程序是否正确安装,并使用nvcc -V命令来检查CUDA工具包是否正确安装。并开始在CentOS上进行GPU加速计算。

你可能感兴趣的:(随笔,linux,centos,运维)