Not to be nit picky, but sudo apt update is not required, it simply refreshes your package list and if you are using a non LTS version of Ubuntu, could just result in a big wall of errors (this can happen with LTS versions, but they are supported for much longer so its less likely).
I say this for a couple reasons. I have multiple installations of Ubuntu that will break if I do a sudo apt update (and then install something), and I have multiple installations that give a wall of errors when trying to sudo apt update because they are no longer supported (non LTS versions) but they are the only versions that certain software works correctly on.
Know your install, if you have reason not to use sudo apt update it should be just fine to leave it out.