How to remove duplicate packages

This commit is contained in:
Miro Hrončok 2023-08-31 12:52:33 +02:00
parent 96d91827a9
commit 090ae68660

View file

@ -191,6 +191,13 @@ You can see duplicate packages (packages with multiple versions installed) with:
sudo dnf repoquery --duplicates
----
And you can remove them with:
[source,bash]
----
sudo dnf remove --duplicates
----
[NOTE]
====
Run `sudo dnf upgrade` first, as this list is only valid if you have a fully updated system.