Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can we extract a .rar archive in Linux?

share|improve this question

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

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

    
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) :) –  invert Mar 25 '11 at 8:10

3 Answers 3

up vote 2 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/

share|improve this answer

In a terminal:

sudo apt-get install unrar-free

Then:

unrar x blah.rar
share|improve this answer
    
"sudo: apt-get: command not found" –  Ignacio Vazquez-Abrams Mar 25 '11 at 4:21
1  
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

If you don't want to bother with the terminal, you can download the engrampa package for your distribution or file-roller.

Depending of your linux, I will tell you how to get them.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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