
On Mon, 10 Mar 2025, 14:28:48 +0100, Felix Miata wrote:
Patrick Schaaf composed on 2025-03-10 12:47 (UTC+0100):
Stefan Seyfried wrote:
You can always set the "--no-recommends" switch somewhere in the zypper config (sorry, don't know the exact place, my muscle memory has just been trained to always use --no-recommends on everything zypper involving installaton, including "patch", "install", "dup", ... ;-)
It's "installRecommends = no" in /etc/zypp/zypper.conf. I've been religiously setting that on all my installs for, like, forever. Can recommend :-)
I wonder if there's any functional difference between that and what I've had configured for many years:
grep yReq /etc/zypp/zypp.conf solver.onlyRequires = true
As I'm paranoid about this beast, I have always set it at both locations ;-) I *guess*, the setting in /etc/zypp/zypp.conf is closely related with libzypp (dunno which program might link with it, though), while the one in /etc/zypp/zypper.conf directly controls the behaviour of the "zypper" command itself. Cheers. l8er manfred