I'm trying to install RPM package using 'yum' through perl. But, the package is prompting to enter 'Y/N' during the install. How can i do a silent install?


Yum has a -y option:

   -y, --assumeyes
          Assume yes; assume that the answer

See yum(8) man page for details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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