Automatically answer 'Yes' when using apt-get install


Automatically answer 'Yes' when using apt-get install
I ve a bit trouble with this procedure. I couldn't install some program trough my webmin. When i was installing telnet, i guess, i was encountered "Do you want to continue [y/N]?  " question and installation progress aborted.

Question :

Is there a way to make apt-get install answer "yes" to the "Do you want to continue [y/N]?"?

Answer :

apt-get -y install  [package_name ]