Issue
What does the -y
flag do when you're running apt-get install
?
Example, from https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions:
sudo apt-get install -y nodejs
Solution
It skips the confirmation of the installation. When you install a package, Ubuntu asks for confirmation (Y/N). With -y, Ubuntu does not ask.
Answered By - LuisKx