Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can we extract a .rar archive in Linux?

share|improve this question

migrated from 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? – Matthew Scharley Mar 25 '11 at 4:02
For *nix questions also try and (if appropriate) :) – invert Mar 25 '11 at 8:10
up vote 3 down vote accepted

First, download unrar from here.

Then use the following command :

unrar x -o- -y file.rar /usr/local/file/
share|improve this answer

In a terminal:

sudo apt-get install unrar-free


unrar x blah.rar
share|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

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


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.