System Administration Guide: Virtualization Using the Solaris Operating System

Upgrading the Distribution and Adding Packages

ProcedureHow to Upgrade a CentOS 3.x Distribution

You must be the zone administrator in the lx branded zone to perform this procedure.

  1. Upgrade a CentOS 3.x distribution to a different version by using yum upgrade or up2date.

    For instructions, see the documentation available at http://www.centos.org.

ProcedureHow to Upgrade a Red Hat 3.x Distribution

You must be the zone administrator in the lx branded zone to perform this procedure.

  1. Update a Red Hat Enterprise Linux 3.x distribution to a different version by using up2date.

    For instructions, see the documentation available at http://www.redhat.com.

ProcedureHow to Upgrade a Package

You must be the zone administrator in the lx branded zone to perform this procedure.

  1. To update a package, use one of the following methods.

    • yum update package_name

    • rpm -U package_name

Using yum and rpm

yum:

rpm: