I would prefer to do all of this as a non-root user but in the meantime, you used sudo only to apt-get install unzip -y. Separately, why aren't you stacking your installs into one command? Are you keeping them on one line each for readability?
Didnt stack because it failed sporadically and it was easier to just type this out, however unzip is not needed anymore so i should just remove that instead.
I would prefer to do all of this as a non-root user but in the meantime, you used
sudo
only toapt-get install unzip -y
. Separately, why aren't you stacking your installs into one command? Are you keeping them on one line each for readability?