From Fedora Project Wiki
fp-wiki>ImportUser
(Imported from MoinMoin)
 
m (Docs/Drafts/AdministrationGuide/ManagingSoftware/YumUpdate moved to Archive:Docs/Drafts/AdministrationGuide/ManagingSoftware/YumUpdate: This page references a newer draft version. Archiving old page tree then I'll go back and redirect to the new.)
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
At the prompt, enter the password for the ''root'' account.
At the prompt, enter the password for the ''root'' account.


{| border="1"
{{Admon/note | How Daily Updates are Run | There is no separate <code>yum</code> service that runs on your system. The command given above enables the control script <code>/etc/rc.d/init.d/yum</code>. This control script activates the script <code>/etc/cron.daily/yum.cron</code>, which causes the <code>cron</code> service to automatically begin a system update at 4am each day.}}
|-
 
| {{Template:Note}} '''How Daily Updates are Run'''
{|
|-
|-
| There is no separate <code>yum</code> service that runs on your system. The command given above enables the control script <code>/etc/rc.d/init.d/yum</code>. This control script activates the script <code>/etc/cron.daily/yum.cron</code>, which causes the <code>cron</code> service to automatically begin a system update at 4am each day.
|[[Docs/Drafts/AdministrationGuide/ManagingSoftware/YumSearch | Previous Page - Searching for Packages with yum]] ||[[Docs/Drafts/AdministrationGuide/ManagingSoftware | Managing Software Table of Contents]] || [[Docs/Drafts/AdministrationGuide/ManagingSoftware/AccessingRepositories | Next Page - Configuring Access to Software Repositories]]
|}
|}
{| border="1"
|-
|[http://fedoraproject.org/wiki/Docs/Drafts/AdministrationGuide/ManagingSoftware/YumSearch Previous Page - Searching for Packages with yum] ||[http://fedoraproject.org/wiki/Docs/Drafts/AdministrationGuide/ManagingSoftware Managing Software Table of Contents] ||[http://fedoraproject.org/wiki/Docs/Drafts/AdministrationGuide/ManagingSoftware/AccessingRepositories Next Page - Configuring Access to Software Repositories]

Latest revision as of 17:49, 4 March 2009

Updating Your System with yum

Use the update option to upgrade all of your Fedora system software to the latest version with one operation.

To perform a full system update, type this command:

su -c 'yum update'

At the prompt, enter the root password.

Automatically Updating Your System

The yum package supplied with Fedora includes scripts to perform full system updates every day. To activate automatic daily updates, enter this command:

su -c '/sbin/chkconfig --level 345 yum on; /sbin/service yum start'

At the prompt, enter the password for the root account.

Note.png
How Daily Updates are Run
There is no separate yum service that runs on your system. The command given above enables the control script /etc/rc.d/init.d/yum. This control script activates the script /etc/cron.daily/yum.cron, which causes the cron service to automatically begin a system update at 4am each day.
Previous Page - Searching for Packages with yum Managing Software Table of Contents Next Page - Configuring Access to Software Repositories