Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Sometimes when a new version of a big piece of software is released (java, flash, etc), the developers will require that a license agreement be combed through and then ask you to type (yes/no) at the end.

Is there a way of forcing my package manager to accept the agreement?

I'm using zypper on OpenSuse.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You can pass zypper the --auto-agree-with-licenses flag. From the OpenSUSE wiki:

This is special option for the install, remove and update commands. By using this, the user declares he/she agrees with the terms of licenses the command will install, and zypper will automatically say 'yes' to the license confirmation prompt. This is useful for people installing the same set of packages on multiple machines (by an automated process) and have read all the licenses before.

share|improve this answer
    
I guess I should have RTFM :) Thanks for this. Hopefully it will help someone else. –  maxmackie Nov 3 '11 at 21:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.