Post date 11 February, 2013
Note All command examples that are shown below assume that you have root access to the system.
If you want to update your system from the Unbreakable Linux Network (ULN) instead of the public yum server, you must have registered your system with ULN.
To register an Oracle Linux 6 system with ULN:
Run the uln_register command.
# uln_register
Alternatively, if you use the GNOME graphical user desktop, select System > Administration > ULN Registration.
To register an Oracle Linux 4 or Oracle Linux 5 system with ULN:
Import the RPM GPG key.
# rpm --import /usr/share/rhn/RPM-GPG-KEY
Run the text-mode version of the up2date
command.
# up2date-nox --register
When you have registered your system with ULN, you can subscribe the system to the available channels.
To subscribe a system to channels on ULN:
Note If your Oracle Linux 5 system is registered with ULN, you can use
yum instead of up2date to download and install packages. If you
have installed a full update since Oracle Linux 5.6 was released on January 20, 2010, your
system should already be able to use yum with ULN.
To enable yum support, install yum-rhn-plugin.
# up2date --install yum-rhn-plugin
With the plugin installed, you can immediately start to use yum instead of
up2date.
The following are examples of simple yum commands:
yum repolistyum list installedyum list availableyum info packageyum install packageyum list updatesyum remove packageUse the following command to update all installed packages:
# yum update
Use the following command to update a specific package:
# yum update package
For more information, see the yum(8) manual page.
Use the following command to update all installed packages:
# up2date -u
Use the following command to update a specific package:
# up2date -u package
For more information, see the up2date(8) manual page.
The Oracle public yum server is a convenient way to install Oracle Linux and Oracle VM packages, including bug fixes, security fixes and enhancements, rather than installing them from installation media. You can access the server and find out more information at http://public-yum.oracle.com/.
You can also subscribe to the Oracle Linux and Oracle VM errata mailing lists to be notified when new packages are released. You can access the mailing lists at https://oss.oracle.com/mailman/listinfo/el-errata and https://oss.oracle.com/mailman/listinfo/oraclevm-errata.