using expect with sun-java6-jre package

Soren Orel soren.orel at gmail.com
Thu Jul 9 20:25:18 UTC 2009


I know, I could automate "ascii based" things, but what about e.g.:

apt-get install sun-java6-jre

install? I mean It wants me to agree with a license, and then I have to hit
enter, yes, etc..

could there be a way to make sun-java6-jre install automaticly, without user
interaction?

thank you!!

regards, solen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090709/d98a354c/attachment.html>


More information about the ubuntu-users mailing list