Can't extract .rar files with any software!! Glibc problems??
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Can't extract .rar files with any software!! Glibc problems??
I have been trying to make any available software that can extract .RAR files to work in my Debian ETC and Lenny, but none of them have worked so far.
DEbian has UNRAR-FREE in its repository but it doesn't work. You run the command like unrar-free -x <file>, then it seems to have worked but no file was extracted.
I did try RAR software too. Both versions 3.6 and BETA 3.7. Beta version doesn't work just like unrar-free. But, RAR 3.6 gives me an error message like "glibc 2.4 not installed". Anyway, I can't find this glibc neither in any of my repositories (just glibc-doc) nor in anywhere else.
I have also tried KArchiver, and others, but I don't feel I'm getting anywhere here.
Can anyone help me to fix this thing? It's pissing me off. It wasn't supposed to be such a big deal.... :@
It was my understanding that unrar was free but rar was shareware. Anyway, try dropping the hyphen from the 'x' option. I think that -x excludes certain files from extraction.
Try 'unrar --help'. It shows the command syntax.
Maybe the unrar-free program has a different syntax. But check the documentation to make sure.
I just read the unrar license. The software is freely distributable. The source may be encorporated in other software to unpackage an rar archive, but there is a restriction on using the source in a winrar like program. You can make an uncompressor but not a compressor with it. The rar format itself is propriety. Good thing we have tar!
In other words, they prefer that you create archives with their own software, but they want the .rar archive format to be as widespread as possible to sell more copies of winrar, so they opened up the code (somewhat) for unarchivers. That isn't a bad strategy.
Hi. I didn't mention it here, but I also tried to do it. Any possible combination I've tried.
So, this time, to mention it some of them were:
unrar-free or unrar -x or just x <file.RAR>
Syntax is just fine. I did check it.
I've also tried to add a path in the end, to tell the software where it should unpack like ./ (working directory) or /home/.
None of these options have worked.
I have also tried to unpack my .RAR files using graphical softwares like ARK. Then, my ARK uses the rar and unrar files that I added to my /usr/bin. So, Even If I use the command incorrectly, ARK won't use it incorrectly and ARK wasn't able to unpack anything either.
Karchiver was also used... etc etc
I've had similar problems. The unrar command would extract some of my RAR files but not all. I think it has to do with versions - unrar can't handle RAR files made by newer versions of RAR. (I'm not sure of this, just guessing.)
The solution was to go to rarsoft.com and download the Linux version (command line) - it's not opensource, according to the licence you can use it for 40 days before you should pay. (It doesn't expire though.)
The solution was to go to rarsoft.com and download the Linux version (command line)
It doesn't solve my problem. If you read my first message you'll see that I said that I have installed RAR - the latest version stable and also the BETA version. As I said, both of them didn't work. What you call RARSOFT is the same thing of RARLAB. If you type in your browser rarsoft.com you'll go to RARLAB's webpage.
As I said, the beta version runs perfectly but extract nothing. It seems it runs as It was supposed to run, but in the end of the line it says: "0 files extracted". It seems it can't read these rar files, it doesn't understand it or it thinks the package is empty.
The stable version complains something about glibc 2.4. I have tried to download something like this in my repository, as I have already said, but the only thing I can find is glibc-doc. In the internet I didn't find much either.
Are you absolutely positively sure nothing is wrong with those rar files you have there? Do a little test, try to compress something using rar, does it work? And then uncompress the archive you just cooked, will it work?
The simple UNRAR (the one that doesn't have RAR) is working fine as we can see above. But unrar-free and RAR/UNRAR from RARLABS aren't.
./unrar: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./unrar)
unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers
Extracting from /home/eu/test.rar
Extracting astalavista Failed
AS we can see the problem still exists in most of the softwares. It's strange because unrar-free was installed using apt, so any dependences were installed together. And the RAR from RARLABS is only unpacked. You don't need to install anything. It's only an executable file that runs from the directory created by the pack when it was unpacked. So, it's also strange that he isn't working. They are simple softwares.
EDITED BECAUSE I'M STUPID AND WROTE EVERYTHING IN PORTUGUESE.
How is that? It wasn't able to unrar anything. The only one that did uncompress something here was the UNRAR simple (with no RAR) that you guys sent to me with a link. It was originally a .DEB file. But unrar 3.70 BETA, 3.6 stable, and unrar-free (the one that's truely in my repositories, none of them are uncompressing anything. Not even your TEST.RAR as I showed you guys above.
These rar files you are unable to extract, did you download them over some P2P network? If this is the case you probably have got fake ones.
No. I did download them directly from the website and I'm sure they are working just fine. I have already uncompressed them in windows.