this post was submitted on 18 Jul 2023
337 points (84.5% liked)

linuxmemes

20761 readers
2300 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

I use Windows btw

you are viewing a single comment's thread
view the rest of the comments
[–] TheInsane42@lemmy.world 10 points 1 year ago (1 children)

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.

[–] mafbar@lemmy.world 8 points 1 year ago (1 children)

What does that config do? Sorry I'm a new Linux user.

[–] AlpacaChariot@lemmy.world 8 points 1 year ago (1 children)

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).

[–] mafbar@lemmy.world 4 points 1 year ago

I see, that's why sometimes there are lots of installed dependencies that you don't really remember needing when you use apt.