Linux - Extract files using unrar rar, How to use unrar and rar in linux

Extract files using unrar rar

Here I will show you how to extract .rar files in linux

For extracting rar files in linux first you have to install rar in linux.
Follow the below steps to rar install linux.

In Redhat or Fedora core Linux:
# yum install unrar

In Debian Linux, use apt-get as follows to install unrar program:
# apt-get install unrar

The better way to install rar is using tar
# cd /tmp
# wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz
# tar -zxvf rarlinux-3.6.0.tar.gz
# ./unrar
# cp rar unrar /bin

How to extract rar files on Linux?

Extract a RAR file into the curren directory.
# unrar e [filename].rar

Extract a RAR file with the full file path.
# unrar x [filename].rar

List contents of a RAR file
# unrar l [filename].rar

Test intergruty of a RAR file
# unrar t [filename].rar

If you cant find the the rpm, then you can try from below
http://rpm.livna.org/
http://dag.wieers.com/rpm/packages/unrar/
http://ftp.freshrpms.net/pub/freshrpms/redhat/

The topic on Linux - Extract files using unrar rar is posted by - Math

Hope you have enjoyed, Linux - Extract files using unrar rarThanks for your time

Tech Bluff