apt is a newer, more user-friendly front-end for apt-get and apt-cache.
apt = combines commands like install, remove, update, upgrade into one tool, with prettier output
#apt-get = older, lower-level, more script-friendly
For normal use, just use apt now.
For scripting where 100% backward compatibility matters, use apt-get.
I don’t know if they modified apt at all. I know they have their mint tools that call apt through some python code, like mintinstall = apt install <package> for the software manager and mintupgrade = apt upgrade for updating mint versions … Etc
apt is a newer, more user-friendly front-end for apt-get and apt-cache.
apt = combines commands like install, remove, update, upgrade into one tool, with prettier output
#apt-get = older, lower-level, more script-friendly For normal use, just use apt now. For scripting where 100% backward compatibility matters, use apt-get.
TIL apt isn’t literally the same thing as apt-get
Lol. You’re not alone. I’ve thought that for the longest time ever. Until one I had the question pop into my head and started searching it.
I didn’t even realize I thought this, but reading your comment I definitely did.
If I recall correctly, Linux Mint did their own thing for a bit with the apt command so there were two different implementations out there for awhile?
I don’t know if they modified apt at all. I know they have their mint tools that call apt through some python code, like
mintinstall
=apt install <package>
for the software manager andmintupgrade
=apt upgrade
for updating mint versions … EtcBut apt-get also has install, remove, update and upgrade…
Yes, but
apt-get
is missingsearch
for instance, because that relates to the cache, soapt-cache
provides it.apt
combines all those often used commands, and provides a nicer shell presentation.Thank you
This should be top comment.