Running yum Noninteractively


Running yum Noninteractively

Running yum can involve a number of updates and dependency resolution, which can itself take a long time to download, especially if you are connected to the Internet via a slow connection. Even with a relatively good connection (2Mbps DSL) it can take a while to download a few hundred megabytes of packages. Thankfully there is an option within yum that you can use to make it run with minimal user intervention. The syntax looks like this:

#yum -y update


This tells yum that when a question is asked, it is to automatically assume the answer to be yes. This way you can go away and do other tasks rather than waiting for yum to finish downloading all the headers and to ask you whether you want to go ahead and install the packages.



Red Hat Fedora 5 Unleashed
Red Hat Fedora 5 Unleashed
ISBN: 067232847X
EAN: 2147483647
Year: 2004
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net