6.1.1. Updating All Components

The easiest way to update all components of the OpenVZ software is to simply run the yum update command. When executed, this command tells the yum utility to do the following:

  1. Access remote OpenVZ repositories.
  2. Check for available updates for the OpenVZ kernel, utilities, libraries, and EZ templates.
  3. Install the found updates on your system.

Note that the yum utility can only update the packages that are already installed on the server. So if a package is not available on your system, you first need to install the package using the yum install command.