Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
I hate yum with a passion, but still wouldn’t touch dnf when I have an alternative. As it earns my keep (alas, no deb based distro at work… yet), I’ve managed to hide all that perfectly in scripting/config management setups.
When you install software, other packages are pulled in and installed. Some of those are necessary dependencies but some are just recommended (but not actually required). This setting makes apt only install the actual dependencies (no extras).
Correct, apt is awful, apt-get, that’s what you need. ;) You really need to tell apt not to install junk:
$ cat /etc/apt/apt.conf.d/00NoJunk APT::Install-Recommends "0"; APT::Install-Suggests "0";
I hate yum with a passion, but still wouldn’t touch dnf when I have an alternative. As it earns my keep (alas, no deb based distro at work… yet), I’ve managed to hide all that perfectly in scripting/config management setups.
What does that config do? Sorry I’m a new Linux user.
When you install software, other packages are pulled in and installed. Some of those are necessary dependencies but some are just recommended (but not actually required). This setting makes apt only install the actual dependencies (no extras).
I see, that’s why sometimes there are lots of installed dependencies that you don’t really remember needing when you use apt.