I am a developer and I need to install Nvidia drivers 455.38 on my device (exactly that version) on Ubuntu 18.04. Before, I was using the following commands:
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
However, nvidia-driver-455
has been updated. Now it installs a different version of the drivers. Is there a way I can still install the 455.38?
Some more info:
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
Note: I know Nvidia drivers can be installed by downloading .run
file from Nvidia website. However, I am having issues following that path. That's why I am asking about a possible apt solution.