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.

I can't extract an 8GB rar file in the terminal. When I try, I get this error:

$ unrar --extract 1.www.IR-DL.com.rar 
unrar: invalid archive '1.www.IR-DL.com.rar': Value too large for defined data type                                                                                                             
Usage: unrar [OPTION...] ARCHIVE [FILE...] [DESTINATION]                                                                                                                                        
Try `unrar --help' or `unrar --usage' for more information.                                                                                                                                     
share|improve this question
1  
If you are running Linux 32 bit, there is a big change you won't be able to extract a RAR archive bigger than 4 GB (or even bigger than 2 GB). You may need to execute your command on a 64 bit Linux. –  Huygens Mar 13 '13 at 8:30
    
hmm, I'm quite sure that rar shouldn't keep the entire file in memory as it extracts, would it? –  Journeyman Geek Mar 13 '13 at 8:43
    
@Huygens: Although your concerns make sense, you cannot put that into the question before the OP verifies that that is the case. –  TFM Mar 13 '13 at 8:58
    
@TFM I thought I had made it more "neutral" in the proposed update. But agreed on the principles. Thanks for the feedback. –  Huygens Mar 13 '13 at 9:06

1 Answer 1

You need the 64bit version of unrar to extract files of this size. There may be a work around to extract this with unrar but I can't seem to figure it out.

If you can re-create the archive use:

rar a -v2097152k -R output-file.rar input-file  

This will ensure that your rar is saved in 2gb chunks and you will be able to unrar it again.

I think the best option for you is just to unrar this file on another machine.

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.