sudo pacman -S cuda
正在解析依赖关系...
正在查找软件包冲突...
警告:检测到循环依赖:
警告:eglexternalplatform 将在它 nvidia-utils 的依赖关系之前被安装
软件包 (6) egl-wayland-2:1.1.9+r3+g582b2d3-1
eglexternalplatform-1.1-2 libxnvctrl-495.44-1
nvidia-utils-495.44-6 opencl-nvidia-495.44-5
cuda-11.5.0-1
下载大小: 227.77 MiB
全部安装大小: 4112.07 MiB
:: 进行安装吗? [Y/n]
:: 正在获取软件包......
nvidia-utils-495... 201.4 MiB 1251 KiB/s 02:45 [#] 100%
opencl-nvidia-49... 26.2 MiB 997 KiB/s 00:27 [#] 100%
libxnvctrl-495.4... 95.0 KiB 500 KiB/s 00:00 [#] 100%
egl-wayland-2:1.... 29.7 KiB 254 KiB/s 00:00 [#] 100%
eglexternalplatf... 7.1 KiB 79.0 KiB/s 00:00 [#] 100%
全部 (5/5) 227.8 MiB 1211 KiB/s 03:13 [#] 100%
(6/6) 正在检查密钥环里的密钥 [#] 100%
(6/6) 正在检查软件包完整性 [#] 100%
(6/6) 正在加载软件包文件 [#] 100%
(6/6) 正在检查文件冲突 [#] 100%
(6/6) 正在检查可用存储空间 [#] 100%
:: 正在处理软件包的变化...
(1/6) 正在安装 opencl-nvidia [#] 100%
opencl-nvidia 的可选依赖
opencl-headers: headers necessary for OpenCL
development
(2/6) 正在安装 eglexternalplatform [#] 100%
(3/6) 正在安装 egl-wayland [#] 100%
(4/6) 正在安装 libxnvctrl [#] 100%
(5/6) 正在安装 nvidia-utils [#] 100%
==> If you run into trouble with CUDA not being available, run nvidia-modprobe first.
nvidia-utils 的可选依赖
xorg-server-devel: nvidia-xconfig
opencl-nvidia: OpenCL support [已安装]
(6/6) 正在安装 cuda [#] 100%
The cuda binaries are in /opt/cuda/bin
The cuda samples are in /opt/cuda/samples
The cuda docs are in /opt/cuda/doc
You need to relogin in order for the cuda binaries to appear in your PATH
cuda 的可选依赖
gdb: for cuda-gdb [已安装]
glu: required for some profiling tools in CUPTI
[已安装]
:: 正在运行事务后钩子函数...
(1/5) Creating system user accounts...
Creating group nvidia-persistenced with gid 143.
Creating user nvidia-persistenced (NVIDIA Persistence Daemon) with uid 143 and gid 143.
(2/5) Reloading system manager configuration...
(3/5) Reloading device manager configuration...
(4/5) Arming ConditionNeedsUpdate...
(5/5) Updating the desktop file MIME type cache...
人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。