diff --git a/InstallationInstructions.md b/InstallationInstructions.md index 5aef782..9000504 100644 --- a/InstallationInstructions.md +++ b/InstallationInstructions.md @@ -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 @@ -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= +# define version that should get installed +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