How can we extract a .rar archive in Linux?

link|improve this question
Normally, I would be this crass, but did you really bother trying to find out? google.com/search?q=linux+rar – Matthew Scharley Mar 25 '11 at 4:02
For *nix questions also try unix.stackexchange.com and askubuntu.com (if appropriate) :) – wez Mar 25 '11 at 8:10
feedback

migrated from stackoverflow.com Mar 25 '11 at 7:59

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

first,download unrar. Url is http://packages.sw.be/unrar/. second,use the command like this,unrar x -o- -y file.rar /usr/local/file/

link|improve this answer
feedback

In a terminal: sudo apt-get install unrar-free Then: unrar x blah.rar

link|improve this answer
"sudo: apt-get: command not found" – Ignacio Vazquez-Abrams Mar 25 '11 at 4:21
User stated Linux, not a particular distribution - if its not a Debian derivative, probably won't have apt-get. – Rob Cowell Mar 25 '11 at 11:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.