Created
November 26, 2024 22:49
-
-
Save xmesaj2/0dd9508aceb4af21bc6486efc1ce20c0 to your computer and use it in GitHub Desktop.
zypper autoremove (like apt)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo zypper rm $(zypper pa --unneeded | awk '/i / {print $3}' FS='|' | uniq | tr -d ' ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://forums.opensuse.org/t/zypper-autoremove-feature/144056/18