mirror of
https://github.com/canonical/ubuntu-server-documentation.git
synced 2025-08-15 21:16:14 +00:00
nvidia-drivers: hint how to determine ${DRIVER_BRANCH} for removal (#283)
* Update install-nvidia-drivers.md Tooling does not automate selecting for removal, suggest how one can determine nvidia version numbers they might want to remove. Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
This commit is contained in:

committed by
GitHub

parent
e9240063ca
commit
0e3fea4d45
@ -201,6 +201,13 @@ Remove any NVIDIA packages from your system:
|
||||
sudo apt --purge remove '*nvidia*${DRIVER_BRANCH}*'
|
||||
```
|
||||
|
||||
If you are unsure which `${DRIVER_BRANCH}` to pick for removal you might look at the installed nvidia packages and see the different `${DRIVER_BRANCH}` numbers that are present on your system.
|
||||
Since `autoremove` will take care of all indirect dependencies it is sufficient to list those that have been directly installed by using `apt-mark`.
|
||||
|
||||
```bash
|
||||
apt-mark showmanual | grep nvidia`.
|
||||
```
|
||||
|
||||
Remove any additional packages that may have been installed as a dependency (e.g. the `i386` libraries on amd64 systems) and which were not caught by the previous command:
|
||||
|
||||
```bash
|
||||
|
Reference in New Issue
Block a user