From Fedora Project Wiki
m (Fixed template)
m (add category)
 
Line 23: Line 23:
|[[Docs/Drafts/SoftwareManagementGuide/SearchwithYum| Previous Page - 5. Searching for Packages with yum]] ||[[Docs/Drafts/SoftwareManagementGuide| Table of Contents]] ||[[Docs/Drafts/SoftwareManagementGuide/ConfiguringRepositories| Next Page - 7. Configuring Access to Software Repositories]]
|[[Docs/Drafts/SoftwareManagementGuide/SearchwithYum| Previous Page - 5. Searching for Packages with yum]] ||[[Docs/Drafts/SoftwareManagementGuide| Table of Contents]] ||[[Docs/Drafts/SoftwareManagementGuide/ConfiguringRepositories| Next Page - 7. Configuring Access to Software Repositories]]
|}
|}
[[Category:Software Management Guide]]

Latest revision as of 01:15, 4 March 2009

6. 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.

6.1. 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 - 5. Searching for Packages with yum Table of Contents Next Page - 7. Configuring Access to Software Repositories