I honestly don’t understand why use apt anywhere. Why don’t always use apt-get so everything’s consistent and you don’t have to keep two apis for the same job on your head?
Yes but apt-get isn’t a seperate package from apt, just a seperate command. All of the apt-* commands are part of the same package, which is now Apt-3.0. This isn’t really what the user above you was asking.
All well and good, but that doesn’t cover “better”. Does this mean apt-get et. al. were improved, or just apt? Where’s the documentation for this “improvement”?
Anyone got a link to a meaningful description of improvement, rather than “pretty colours” and a “better package solver”?
My most frequent use of apt is inside a Dockerfile, so care factor on UI is not high and “better” isn’t a measurable metric.
When scripting, it’s better to use apt-get instead of apt:
https://unix.stackexchange.com/questions/590699/should-i-use-apt-or-apt-get-in-shell-scripting
I honestly don’t understand why use apt anywhere. Why don’t always use apt-get so everything’s consistent and you don’t have to keep two apis for the same job on your head?
For interactive use, apt provides a nicer interface. I can easily see why some people would prefer that.
Yes but apt-get isn’t a seperate package from apt, just a seperate command. All of the apt-* commands are part of the same package, which is now Apt-3.0. This isn’t really what the user above you was asking.
Never knew that! Always wondered what this apt-get was, supposed it was some older alias or something
It kind of is. For a very long time it was the only option.
All well and good, but that doesn’t cover “better”. Does this mean apt-get et. al. were improved, or just apt? Where’s the documentation for this “improvement”?
Hence my question.
https://duckduckgo.com/?q=apt+3.0
Edit for those who couldn’t be bothered to click through the first result:
https://salsa.debian.org/apt-team/apt/-/blob/main/debian/changelog