Archive for the tag 'updates'

How do I apply package updates from the Red Hat Network?

Systems must be registered before updates from RHN can be applied. This can be done by using the “Software Updater” application from the “System Tools” menu, or via the command line by using the “rhn_register” command.

To access updates from RHN when using Red Hat Enterprise Linux 5, launch the graphical update tool through Applications -> System Tools -> Software Updater, or from the command line via the following command:

# pup

For a command line interface, use the following command to update the operating system:

# yum update

To install a specific package, such as elinks, use the following command:

# yum install elinks

To update a specific package, such as httpd, use the following command:

# yum update httpd

Set up yum to get updates for RHEL5 system

To use the Red Hat repositories, make sure that you have installed the following package:

yum-rhn-plugin

and that you have registered your system against RHN:

# rhn_register

if you use a proxy, remember to specify it in the network configuration part of the assistant.

To manually set the proxy, fill /etc/sysconfig/up2date :

enableProxy=1
httpProxy=squid.example.com:3129

If the proxy requires authentication, also set these values :

enableProxyAuth=1
proxyUser=PROXYUSERNAME
proxyPassword=PROXYPASSWORD

All yum options are detailed in:

# man yum.conf

To check that your machine is registered, run:

# yum update

« Prev