安装旧版本的 Nvidia 驱动程序

安装旧版本的 Nvidia 驱动程序

我是一名开发人员,我需要在 Ubuntu 18.04 上的设备上安装 Nvidia 驱动程序 455.38(正是该版本)。之前,我使用以下命令:

sudo apt-get update && apt-get install -y software-properties-common ubuntu-drivers-common lshw
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install -y nvidia-driver-455

但是,nvidia-driver-455已经更新了。现在它安装了不同版本的驱动程序。我还能安装 455.38 吗?

更多信息:

root@81bdf70bf4f0:/# apt-cache policy nvidia-driver-455
nvidia-driver-455:
  Installed: (none)
  Candidate: 460.91.03-0ubuntu0.18.04.1
  Version table:
     460.91.03-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 Packages
root@81bdf70bf4f0:/# apt-cache search nvidia-driver-455
nvidia-driver-435 - Transitional package for nvidia-driver-455
nvidia-driver-455 - Transitional package for nvidia-driver-460
root@81bdf70bf4f0:/# apt search nvidia-driver-455
Sorting... Done
Full Text Search... Done
nvidia-driver-435/bionic-updates,bionic 455.45.01-0ubuntu0.18.04.1 amd64
  Transitional package for nvidia-driver-455

nvidia-driver-455/bionic-updates,bionic-security,bionic 460.91.03-0ubuntu0.18.04.1 amd64
  Transitional package for nvidia-driver-460

注意:我知道可以通过从 Nvidia 网站下载文件来安装 Nvidia 驱动程序.run。但是,我遇到了问题遵循这条路径。这就是我询问可能的合适解决方案的原因。

相关内容