apt and apt-get - was Re: follow-up (and problems) about: recommendation for all-in-one printer?

Colin Watson cjwatson at ubuntu.com
Fri Nov 6 22:26:15 UTC 2020


On Fri, Nov 06, 2020 at 09:59:04PM +0000, Bret Busby wrote:
> So, for clarity, what then, is the better syntax for the following command?
> 
> sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo apt-get
> -y autoremove && sudo apt-get -y autoclean

In that, you can just replace "apt-get" with "apt" and "dist-upgrade"
with "full-upgrade".  No real functional difference, just more concise
and clearer ("dist-upgrade" has long been a rather misleading name).

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list