Install rar and unrar on Centos

Open up ssh client and connect to the server as root user

for 32bit:
For 64 bit
Install DAG’s GPG key
 rpm --import
Install the package
 For 32 bit
 rpm -i rpmforge-release-0.5.1-1.el5.rf.i386.rpm
For 64 bit
 rpm -i rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
Install Rar and Unrar
 yum install rar unrar