Книга: Fedora™ Unleashed, 2008 edition
Running yum Noninteractively
Running yum
Noninteractively
Running yum
can involve dependency resolution and a number of updates, 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 (8Mbps DSL), it can take a while to download a few hundred megabytes of packages. There is, however, 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 ask you whether you want to go ahead and install the packages.
- Using Yum Extender
- Running Services at Bootup
- Running Services Through xinetd
- Running the named Nameserver Daemon
- Running a Shell Program
- Getting Started with yum
- Using yum to Remove Packages
- Maintaining yum
- Using yum to Manage Package Inventory
- Configuring yum
- Creating a Local yum Repository
- Mounting a Partition as Read-Only on a Running System