Firstly if you are using a legacy Virtuozzo system please make sure that yum is installed, you can find out if it is by typing (whilst logged in via SSH)

yum --version
If it is installed you will get the version of yum installed, if you do not have yum installed you will get a message similar to

-bash: yum: command not found.
If this is the case please email support@support.cwcs.co.uk and ask us to enable yum on your VDS.


i ) To search for a package :-

yum search [package]  -
i.e :-

yum search MySQL
ii) To install a package :-

yum install [package]
i.e :-

yum install postgresql-server 
iii) To update your system

yum update

(please note this will update all packages on your system)


iv) Install an .RPM file.

You can install single/multiple RPM's using the RPM command, i.e :-

rpm -Uvh bash.rpm
You can also  install multiple packages using similar syntax

rpm -Uvh bash.rpm nettools.rpm
Please note that due to dependency issues it is better to use yum to install packages.