this post was submitted on 13 Sep 2023
487 points (94.7% liked)

Memes

45170 readers
3883 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 1 year ago (1 children)

You mean you don't apt-get it?? stubs toe from to much cringe

[–] [email protected] 2 points 1 year ago (1 children)

I just dabble on some self hosted shit on Debian once in a blue moon and I never understood the difference between apt argument and apt-get argument

[–] sysadmin420 7 points 1 year ago

This is explained in the apt man page:

The apt(8) commandline is designed as an end-user tool and it may change behavior between versions. While it tries not to break backward compatibility this is not guaranteed either if a change seems beneficial for interactive use.

All features of apt(8) are available in dedicated APT tools like apt-get(8) and apt-cache(8) as well. apt(8) just changes the default value of some options (see apt.conf(5) and specifically the Binary scope). So you should prefer using these commands (potentially with some additional options enabled) in your scripts as they keep backward compatibility as much as possible