Skip to content

Commit

Permalink
how to update nvidia driver installed via ppa
Browse files Browse the repository at this point in the history
  • Loading branch information
ai2ys authored Nov 11, 2024
1 parent 49a79d2 commit 693d08f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions InstallationInstructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ Deinstallation of previously installed version.
```shell
whereis nvidia
```
or
```shell
modinfo nvidia | grep ^version
```

- Deinstall/remove all version related packages, replace the retrieved version below, e.g. 470

Expand Down Expand Up @@ -211,6 +215,37 @@ Sat Mar 4 12:56:05 2023
+-------------------------------+----------------------+----------------------+
```

### Update NVIDIA driver installed via pps repository

As already mentioned above, check which major driver version is compatible with your NVIDIA GPU. [Retrieve compatible version](https://www.nvidia.de/Download/index.aspx)

```shell
# retrieve installed NVIDIA driver version using
dpkg -l | grep nvidia
# or
whereis nvidia
# or
modinfo nvidia | grep ^version
# replace the retrieved version below
current_version=<version>
# define version that should get installed
new_version=<new_version>
# check availability of driver version
apt-cache search nvidia-driver | grep ${new_version}
# deinstall/remove all version related packages
sudo apt-get purge *nvidia*${current_version}
sudo apt-get autoremove
sudo apt-get clean
# install version new version
sudo apt-get install nvidia-driver-${new_version}
# reboot
sudo reboot now
# after reboot check
nvidia-smi
```

---
## Installing Docker CE

Expand Down

0 comments on commit 693d08f

Please sign in to comment.