The first command updates the package lists, and the second command upgrades any packages that have new versions available. The -y option automatically confirms any prompts, but you can omit it to ...
The update also brings a nice quality-of-life improvement for image handling. If you are downloading a compressed image file, ...