To find out which version is installed on your system type: rpm -qa | grep gaim
To find out where gaim(merely an example) is installed, type: which gaim
Once you download the rpm yourself, you can install it a couple of different ways. First of all, make sure the rpm is for your version of Mandrake that you are using(cat /etc/mandrake-release) to find out the version you currently run. Once you have the correct rpm for your system, as root and in the directory you downloaded the rpm to you can do either of these commands:
rpm -Uvh filename.rpm (replacing filename with the actual name of the rpm)
The -Uvh means Upgrade. This will upgrade any previous versions of that application that are on your system currently.
urpmi filename.rpm(again, replacing filename with the actual name of the rpm)
By doing this, if there are any dependencies needed, urpmi should automagically download and install them for you as well as the rpm you are trying to install.
Any further questions or for more help, visit my site listed below.