To install rar/unrar
wget http://dag.wieers.com/packages/unrar/unrar-3.6.2-1.el4.rf.i386.rpm
rpm -Uvh unrar-3.6.2-1.el4.rf.i386.rpm
then
unrar e rarfile.rar
Alternativley if you are having problems with RPM’s, you can just get the CLI version of WinRar directly from www.rarlab.com. Make sure you have Glibc 2.4 though.
wget http://www.rarlab.com/rar/rarlinux-3.9.2.tar.gz
wget http://www.rarlab.com/rar/rarlinux-x64-3.9.2.tar.gz
tar xvzf rarlinux*
cd rar
make
make install
now you may get the error of not having glibc_2.4, here is the file download location for the glibc:
http://rpm.pbone.net/index.php3/stat/4/idpl/3284160/com/glibc-2.4-31.1.i686.rpm.html