using expect with sun-java6-jre package

sktsee sktsee at tulsaconnect.com
Fri Jul 10 16:26:22 UTC 2009


On Thu, 2009-07-09 at 22:25 +0200, Soren Orel wrote:
> 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?
> 
Does apt-get -y install sun-java6-jre work?

-- 
sktsee





More information about the ubuntu-users mailing list