Linux

Installing rar/unrar On CentOS 6

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

For 32bit:
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i386.rpm

For 64bit:
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Install DAG’s GPG key:
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

If you get an error message like the following the key has already been imported:
[error]error: http://apt.sw.be/RPM-GPG-KEY.dag.txt: key 1 import failed.[/error]

Verify the package you have downloaded for 32bit:
rpm -K rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Verify the package you have downloaded for 64bit:
rpm -K rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Install the package for 32bit:
rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm

Install the package for 64bit:
rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

Now install Rar and Unrar:
yum install rar unrar

Reboot your server:
shutdown -r now