Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



Extracting RAR Archives under Linux


10 replies to this topic - - - - -

#1 jbrooksuk

    Beta meta.

  • 598 posts
  • Joined: 04-June 09
  • Location: United Kingdom
  • OS: OSX Lion 10.7.4
  • Phone: iPhone 4S

Posted 29 June 2009 - 09:01

Hey,

I posted this on my blog a few months back, but I am re-posting it here as well.

This will only work on Debian based systems.

Firstly you need the good old terminal window open. Once that has opened type:

sudo apt-get install rar

You should now be asked for your admin password. If you are not the admin then you will need to ask them to install it. And that's it, RAR archiving will now work seamlessly with Archive Manager!

Hope this helps,
James

Edited by James Brooks, 05 July 2009 - 13:57.



#2 DjmUK

    TheDon

  • 3,559 posts
  • Joined: 08-September 01
  • Location: UK

Posted 05 July 2009 - 12:43

Cheers - worked for me :D

#3 +Mephistopheles

    Member N° 1,302

  • 19,373 posts
  • Joined: 18-September 01
  • Location: Frankfurt, DE
  • OS: Windows 7
  • Phone: Nexus 4

Posted 05 July 2009 - 12:55

You should have clarified that this method only works for Debian-based distributions like Ubuntu.

#4 OP jbrooksuk

    Beta meta.

  • 598 posts
  • Joined: 04-June 09
  • Location: United Kingdom
  • OS: OSX Lion 10.7.4
  • Phone: iPhone 4S

Posted 05 July 2009 - 13:56

View PostDjmUK, on Jul 5 2009, 13:43, said:

Cheers - worked for me :D
Glad I can help.

View PostMephistopheles, on Jul 5 2009, 13:55, said:

You should have clarified that this method only works for Debian-based distributions like Ubuntu.
I shall add a note now, thanks.

#5 KibosJ

    Resident Elite

  • 1,311 posts
  • Joined: 27-January 09
  • Location: Darlington, United Kingdom

Posted 05 July 2009 - 13:59

This method isn't too great when it comes to split archives with passwords. Sometimes it will extract them, but at times it will refuse to extract the files. Single archives it is fine with.

I think the best thing is to install WinRAR under wine :) Works much better. Works even better in Crossover Linux.

#6 Dead_Monkey

    Resident Fanatic

  • 722 posts
  • Joined: 01-June 09
  • Location: Boston, MA

Posted 07 July 2009 - 17:05

7-zip should also work. There's a command line port to UNIX-like systems.

#7 +ViperAFK

    Neowinian ULTRAKILL

  • 10,278 posts
  • Joined: 07-March 06
  • Location: Vermont

Posted 07 July 2009 - 17:12

for ubuntu I've always done
sudo apt-get install unrar


#8 OP jbrooksuk

    Beta meta.

  • 598 posts
  • Joined: 04-June 09
  • Location: United Kingdom
  • OS: OSX Lion 10.7.4
  • Phone: iPhone 4S

Posted 30 July 2009 - 11:26

Still all useful though :)

#9 ZekeComa

    Resident Fanatic

  • 642 posts
  • Joined: 19-March 09
  • Location: Houston, Texas, USA

Posted 04 December 2010 - 18:57

For Gentoo I've always done
sudo emerge unrar


#10 vetGrowled

    Resident Rockstar

  • 35,979 posts
  • Joined: 17-December 08
  • Location: USA

Posted 05 December 2010 - 05:07

View PostViperAFK, on 07 July 2009 - 17:12, said:

for ubuntu I've always done
sudo apt-get install unrar
Yeah, that works well too.

#11 tablet_user

    Resident Elite

  • 1,288 posts
  • Joined: 20-September 07

Posted 05 December 2010 - 05:10

i just did emerge rar and then i can just unrar or rar e file.rar