Книга: 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.

Оглавление книги


Генерация: 1.214. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз