PDA

View Full Version : sudo apt-get install "forced" (no questions)



giuspen
November 15th, 2009, 03:35 PM
Hi,
I need to insert in a script the installation of some packages but my script stucks as some packages (like audacious for instance) ask in the terminal if i really want to install it and wait for me to insert [Y/n],
does anybody know if there's an option to avoid questions and just go on?
Thanks in advance.

Zugzwang
November 15th, 2009, 03:38 PM
Use the man-page:



man apt-get


You will see that there exists some option "-y", which should do what you want. Carefully read the description.

giuspen
November 15th, 2009, 04:00 PM
Use the man-page:



man apt-get


You will see that there exists some option "-y", which should do what you want. Carefully read the description.

thanks a lot