PDA

View Full Version : [ubuntu] installing packages via command line



adrianp918
August 24th, 2011, 04:51 PM
i am trying to install upgrades for my ubuntu server via webmin,

and i put in the command apt-get install imagemagick

and when i do that i see the output and it asks me if i want to install,

is there a command that will automatically force the installation so that way i dont have to hit yes or Y?

sikander3786
August 24th, 2011, 04:57 PM
You can simply add the '-y' switch.


sudo apt-get install <package> -y

adrianp918
August 24th, 2011, 05:02 PM
Thank you so very much