Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've downloaded some torrents, and someone CONVENIENTLY made them a multiple file archive instead of a single file.
I've tried unrar -x <filename>-part1.rar, which it says it completes, then I don't see the file. What do I need to do? WinRAR usually decompresses them just fine, but on Linux is where I have the problem.
More importantly, why on Earth would anybody do this?
Mind that it's "unrar x archive.rar" not "-x". You should also check the archive for errors using "unrar t archive.rar"
Thanks, bathory.
I'm sorry, I forgot to mention, I've tried both unrar and unrar-free, since unrar doesn't work I thought I'd try unrar-free. And unrar-free is the one that says to use -x. My bad for not mentioning it.
unrar t archive.rar seems to work, and I unpacked the archive in Windows (I couldn't take it anymore so I rebooted and WinRAR did the job as it always does)
Unrar x archive-part1.rar didn't work - said "Failed". But WinRAR managed to decompress it just fine. Since there's like 15 files, I did the first one. It's annoying that it works fine in Windows but doesn't work in Linux. That should be backwards.
I know that I'm doing something wrong, I just don't know what.
Thanks for the tip. I did manage to install p7zip but 7x says "command not found". I tried using p7zip x file.part01.rar, but it still didn't work. Arrrggghhh!! Why does WinRAR work and the command line doesn't???
It should extract with both unrar and 7z, unless it uses some new winrar properties.
If you get "command not found" that means that 7z is not in your PATH. If you have downloaded the binary version, use the included install.sh script to install 7z and add /usr/local/bin in your PATH (if not already there)
Thanks for the tip. I did manage to install p7zip but 7x says "command not found". I tried using p7zip x file.part01.rar, but it still didn't work. Arrrggghhh!! Why does WinRAR work and the command line doesn't???
How did you install it ? Might want to make sure that it builds and installs 7z.
Thanks for all your help from everyone who tried to offer assistance. This just doesn't work in Linux. I resorted to using WinRAR, which did the job quickly and easily.
I hate to admit it, I really do, but this was one area that using Windows actually got the job done. I really, really hate saying that, but neither the command line NOR a GUI tool would work in Linux. I had no choice but to use Windows. It kills me to say it, and it's ironic, given that rar is more of an open-source format, but Windows actually worked, and Linux didn't.
I'm not saying that to invite flames. I spent at least TWO HOURS trying to get this to work in Linux with NO success. I spent less than 4 minutes getting this file decompressed in Windows. If nothing else, just let me vent at the two hours I lost trying to do this without success, okay?
Obviously, it's frustrating that it didn't seem to work correctly with linux, and your venting is well understood. But I have to throw it out there, I have never had any trouble with unrar from the command line, or with split rar files.
Quote:
It kills me to say it, and it's ironic, given that rar is more of an open-source format, but Windows actually worked, and Linux didn't.
Obviously, it's frustrating that it didn't seem to work correctly with linux, and your venting is well understood. But I have to throw it out there, I have never had any trouble with unrar from the command line, or with split rar files.
Thanks, I stand corrected. I should have said it's more popular with Linux users than Windows users, who typically rely on the ubiquious (and annoying) zip format.
WinRAR can be installed and run under Wine in Linux. Splitting large files into smaller pieces is common on Usenet. Perhaps your torrent was at one time posted there. Usenet users know how to put them back together. Any decent Usenet HowTo site should include directions.
You don't need Wine for that, the WinRAR people offer a commandline version of their product for Linux. Of course it is, like WinRAR, a commercial product, so you can only download a trial version and have to buy it you want to use it further.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.