HostOnNet Blog

Installing unrar in CentOS

Looking for Linux Server Admin or WordPress Expert? We can help.


You can download unrar (WinRAR) from

For CentOS 6.x 64 Bit, i downloaded latest RAR 5.21 for Linux x64 Command line only.

cd /usr/local/src
tar zxvf rarlinux-x64-5.2.1.tar.gz
cp rar/unrar /usr/local/bin

Now you will be able to use unrar command. They also have rar binary, but on Linux, lets not use rar, just use tar instead.

How to extract a rar file

To extract a compressed rar file, run

unrar x FILE_NAME.rar

Install unrar on Ubuntu

unrar can be installed with apt-get on ubuntu.

apt-get install unrar-free

Posted in CentOS

3 Responses to Installing unrar in CentOS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.