如何为RHEL8安装Nvidia驱动程序

拉扎特克斯

我试图在Red Hat Enterprise Linux 8上为我的图形卡安装Nvidia驱动程序。我打开终端,将目录更改为Downloadssu然后键入,./NVIDIA-Linux-x86_64-440.59.run但仍然出现错误。我尝试过./NVIDIA-Linux-x86_64-440.59.run --no-x-check并且能够安装驱动程序,但是当计算机重新启动时,我继续出现失败的登录屏幕。如何禁用X服务器

ERROR: You appear to be running an X server; please exit X before            
         installing.  For further details, please see the section INSTALLING   
         THE NVIDIA DRIVER in the README available on the Linux driver         
         download page at www.nvidia.com.


ERROR: Installation has failed.  Please see the file
         '/var/log/nvidia-installer.log' for details.  You may find            
         suggestions on fixing installation problems in the README available   
         on the Linux driver download page at www.nvidia.com.
阿尔特姆·塔什基诺夫(Artem S.

当您是高级用户并且完全了解该过程的所有复杂性时,应直接从其网站安装NVIDIA驱动程序。在Linux中,首选的安装方法是通过发行版的存储库。这是一本适用于RHEL / CentOS / Fedora的手册。请遵循:

或简单地运行:

sudo rpm -ivh https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
sudo rpm -ivh https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm

或简单地运行:

sudo dnf update -y
sudo dnf install kmod-nvidia

更改将在最新的内核上完全重新引导后生效。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章