Thursday, April 06, 2006

Stack 'O RPMs

On several occasions, I have found myself with a stack of RPMs (usually updates) that needed to be installed, but did not want to have to do each manually. I've tried several commands, but have never been satisfied with the results. I finnally found one I like.

  find /start/dir -name "*.rpm" \
    -exec rpm -Uvh {} \;

Regardless of errors, or dependanies, this command will keep processing the updates. The command may need to be run two or three times to resolve such dependancies.

No comments:

Post a Comment