Patterns almost made me skip opensuse, until I locked most of them so they won’t annoy me anymore.
I start with only selecting some basic patterns in the installer:
apparmor
base
documentation
enhanced_base
minimal_base
sw_management
x86_64_v3
When installed, I run this in my fresh system:
# save the currently installed patterns in a variable
installedPatterns=$(zypper se --type pattern --installed-only | grep -E "(.*\|){3}" | cut -d'|' -f2 | tail -n+2)
# lock every existing pattern
sudo zypper addlock --type pattern $(zypper search --type pattern | grep -E "(.*\|){3}" | cut -d'|' -f2 | tail -n+2)
# lock every package starting with "yast"
sudo zypper addlock yast*
# unlock the patterns you had installed
sudo zypper removelock --type pattern $installedPatterns
Pro:
Only real dependencies get installed when adding packages
Nothing re-installs because it belongs to an installed pattern
No need for --no-recommends
Con:
You have to find out the packages you need yourself
For a minimal gnome install, use these packages (likely some more depending on you setup):
Patterns almost made me skip opensuse, until I locked most of them so they won’t annoy me anymore. I start with only selecting some basic patterns in the installer:
When installed, I run this in my fresh system:
# save the currently installed patterns in a variable installedPatterns=$(zypper se --type pattern --installed-only | grep -E "(.*\|){3}" | cut -d'|' -f2 | tail -n+2) # lock every existing pattern sudo zypper addlock --type pattern $(zypper search --type pattern | grep -E "(.*\|){3}" | cut -d'|' -f2 | tail -n+2) # lock every package starting with "yast" sudo zypper addlock yast* # unlock the patterns you had installed sudo zypper removelock --type pattern $installedPatterns
Pro:
--no-recommends
Con:
For a minimal gnome install, use these packages (likely some more depending on you setup):
Bonus tip: When removing software, use the -u flag for less bloat being left behind: