YUM update manager
Yum is an automatic updater and package installer/remover for rpm based Linux systems. Yum is the default method used to update a number of major rpm based distributions, including CentOS 6 and Red Hat Enterprise Linux 6. The op5 System is preconfigured to retreive all its updates via op5 repositories. To manage yum you need console access to the system or log on via SSH.
To check if there are any updates availabe for your system execute:
yum check-update
Issuing the command above might give a result looking like this:
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
op5-system-upgrade.noarch 3.0.3-op5.1_RHEL5 op5-system-base
plugins.i386 2.2.0-op5.4_RHEL5 op5-system-addon
portal.noarch 1.4.4-op5.1_RHEL5 op5-system-addon
This means that there are three available updates. To download and install the 'plugins.i386' and 'portal.norach' packages issue:
yum update plugins portal.noarch
Yum have a built-in dependency checker that automatically fetches any other package that the chosen package(s) depend on.
To install all available updates you issue the same command but without specifying any package:
yum update
Note: The repositories provided by op5 is intended for op5 customers only. You therefor need to have a valid op5 license installed to be able to use yum.
Handling RPM packages manually
RPM is the package management software that op5 System utilizes. A RPM package consists of all files and information necessary to install or upgrade a software.
To install an RPM package use the command ‘rpm –Uvh’
Example:
monitor!root~# rpm -Uvh plugins-2.0.6.op5.4.rpm
Preparing… ################################# [100%]
1:plugins ################################# [100%]
monitor!root~#