Slashdot Mirror


Unarchiver Provides LGPL RARv3 Extraction Tool

An anonymous reader writes "Free software to support the RARv3 archive format has been listed on the FSF's High Priority Projects list for some time now. We've always had ways to create and extract free archive formats, using tools like GNU tar and Info-ZIP. The RARv3 format is proprietary, so we don't want it to replace these tools, but it's not uncommon to see it used for distributing multimedia files over the Internet. That means the lack of free software to extract RARv3 files has been sorely felt. We're happy to share the news that there's now a free software project to fill this gap, and we can mark this item as done. The Unarchiver is a small collection of software written by Dag Ågren."

30 of 183 comments (clear)

  1. Seems like the distributor needs to be slapped by wagnerrp · · Score: 4, Insightful

    Why would you use a proprietary format to store openly distributed files?

    1. Re:Seems like the distributor needs to be slapped by Bacon+Bits · · Score: 3, Insightful

      Maybe because it's the best tool for your job? Politics isn't the only reason to pick your software. Or maybe someone has to deal with files from *gasp* someone else!

      --
      The road to tyranny has always been paved with claims of necessity.
    2. Re:Seems like the distributor needs to be slapped by mug+funky · · Score: 2

      because most PC users, when faced with a .7z file, will download winrar.

      and when that happens, it's extra effort for bugger-all (none?) extra compression to make your own archives in 7z. so they end up in rar by default.

    3. Re:Seems like the distributor needs to be slapped by gmhowell · · Score: 5, Funny

      Because, you see, some children have two daddies or two mommies instead of a mommy and daddy.

      And sometimes, nerds like to watch movies where both mommies and both daddys are in the same room giving each other special hugs. But they like to watch them for free, so they wind up downloading the movie as a 50 part .RAR file.

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    4. Re:Seems like the distributor needs to be slapped by slashdot_commentator · · Score: 2

      Odd. I don't understand why people even use RAR anymore when there's 7z. I don't see this horde of clueless users dying for shredded archiving. And as far as I know, RAR isn't this gratifying user experience.

      --
      There is no America. There is no democracy. There is only IBM and AT&T and DuPont, Dow, General Electric, and Exxon
    5. Re:Seems like the distributor needs to be slapped by wagnerrp · · Score: 2

      The closed source and payware distributors use executable installers. The Linux community uses tar, compressed using gzip, bzip, or lzma. The legitimate Windows community uses WinZip (because they don't know otherwise) or 7-Zip (because it's free). The hugely overwhelming use of WinRar is just to split files for distribution on antiquated mediums like FTP and Usenet, which don't natively support multi-part uploads and downloads, and have file size limits. Since this is generally multimedia content that cannot be further losslessly compressed, these archives use store mode, and the only thing the rar format is used for is integrated checksumming, which rar is just one of many formats that will perform that job equally well.

      Content distributed in that manner is almost always in violation of copyright, which makes the entire concept of developing an open source library to access a proprietary format, rather than simply using another format, or pirating WinRar as well, is comical. It's either a waste of effort when other tools are available, or a downright confusing inconsistency in ethics on someones part.

    6. Re:Seems like the distributor needs to be slapped by wagnerrp · · Score: 2

      I don't understand what relevance a 9yr old compression test is.

    7. Re:Seems like the distributor needs to be slapped by thegarbz · · Score: 2

      Why would you ever choose an inferior technology like rar?

      Citation needed. Google searches seem to conclude that RARv3 is bested only by 7-zip and then only enough to make the difference completely irrelevant in the real world.

    8. Re:Seems like the distributor needs to be slapped by grumbel · · Score: 2

      Odd. I don't understand why people even use RAR anymore when there's 7z.

      Because 7zip is kind of crap really. Not only is it quite slow, it also has absolutely no redundancy or recovery build in what so ever. A single flipped bit will quite literally destroy your whole archive, same with an incomplete 7zip that is missing some bytes at the end. RAR on the other side doesn't mind a flipped bit, with build in recovery data it can fix that and even without it that data will only affect a single file, all the other files and what is left of the damaged file can be extracted without a problem.

      7zip for me is a classic case of completely over engineering in one direction (good compression) while completely forgetting the other one that is much more relevant for real world use: People want to get data that they put into an archive back out again.

    9. Re:Seems like the distributor needs to be slapped by WuphonsReach · · Score: 2

      7Z has all the shell integration that WinRar has (and has for a number of years). We switched away from WinZIP / WinRAR as soon as that happened. As a bonus, it's one less set of licenses that I have to track.

      (Plus the 7Z package is open-source, so it's widely available.)

      --
      Wolde you bothe eate your cake, and have your cake?
    10. Re:Seems like the distributor needs to be slapped by Sloppy · · Score: 2

      Why would you use a proprietary format to store openly distributed files?

      More to the point, why would I care as long as I can open said file?

      Many possible reasons.

      1. Premise rejection: Because you can't open the file. Proprietary software tends to be ported to far fewer platforms than Free software (is there a PPC NetBSD port of WinRar? I don't know) so the proprietary software may not be available to you. (Related to this: because running software inside of emulators is cumbersome and inconvenient, even when it technically can do the job. The idea of running a Windows archiver in Wine where it can't be scripted as part of the bigger get-files-from-Usenet picture is laughably luddite.)
      2. Safety: who knows what else this proprietary software does or is even unintentionally capable of doing? Theo de Raadt aside, who has audited it, even superficially and informally? If you can't answer that question (as is often the case unless you do the auditing yourself) then consider what the upper limit may be.
      3. Maintenance: What can you do about bugs? If the software has a problem then you're not ever going to get maintenance until the vendor decides they have reason to fix that bug. With Free software, bug fixes and feature additions can happen independent of any particular central authority. (Sometimes this is a very big deal. Honestly, I think this reason is the #1 factor in how I became a Linux user. I got burned so many times, both at home and professionally. Never Again. I will give up computers altogether and live in a shack in Montana, before I ever return to that level of frustration and utter helplessness. I don't know how anyone can stand it.)
      4. Competition: Remember that the whole reason you're using this proprietary software, is that you somehow got stuck with a proprietary file format. Whenever that happens, it is usually the case that that particular proprietary application is the only application that can deal with the file. That means that if you ever want a particular feature or bugfix, not only do you not get maintenance (as mentioned above) but you may not even have the option to jump ship to a competing application. Free software, on the other hand, tends to default to writing non-proprietary formats, and because of that, there tend to be multiple implementations (whether they're forks of an ancestor or completely unrelated), so if you decide you don't like that application, there's probably another one which is interoperative with your data. This is why it's big news (I guess) that someone has created an application that can read rar3 files, whereas it wouldn't be news at all if someone created an application that can read tar or zip files.

      This isn't to say that Free software is always something users must insist on, but it nevertheless does have practical non-religious advantages. (Well, non-religious unless you think platform diversity, security, maintenance availability and competition are all religious values.)

      If you think you've found a case where those advantages are outweighed by other factors, or happen to be met by some particular proprietary application, fine, I won't preach at you and will leave RMS to do that job. ;-) But nevertheless, using proprietary formats for interchange with other users really is a dumb idea. And considering the particular application we're talking about here, it's a doubly-dumb idea because the proprietary format we're talking about just doesn't have any significant advantages. Whoever is writing rar3 files is clueless.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  2. Re:Yay piracy! by dougmc · · Score: 5, Informative

    Compressing my HD rip to save 5MB on a 50GB download!

    In the case of movies, it's not so much that it saves space, it's more that it breaks the large file up into more manageable chunks and it also gives you checksums to know if something got corrupted.

    This isn't particularly important for distribution methods like bittorrent which provides it's own checksums and doesn't have problems with files over 2 or 4 GB, but for some other distribution methods it does make a big difference, especially when you throw par2 files into the mix for correcting problems.

  3. Excellent! by Anonymous Coward · · Score: 2, Funny

    Finally there is a Richard Stallman approved way of extracting my pirated pornography, movies and TV shows on my Linux box.

    Using a proprietary tool on an OSS system is so unethical...

    1. Re:Excellent! by icebraining · · Score: 3, Interesting

      What about Creative Commons licensed porn?

      http://www.freedomporn.org/

      The mission of Freedom Porn is to empower and engage individuals to create and share ethical porn as a means of advancing sex-positivism and sexual freedom.

      We advocate safer sex and consensual sex, and feminism is inseparable from our mission. We also fight for freedom of speech, privacy, and free culture. As such, we are the world's first porn repository of entirely free cultural works. All videos are in free formats, either WebM or Ogg Theora, and we encourage the use of free software. We run on donations, so please contribute!

  4. There are already "free" unrar apps by 1u3hr · · Score: 3, Informative
    I assume theyr'e using "free" in the not-as-beer sense, since there are plenty of free apps that can unrar , 7-Zip for example. True, these all seem to use code available from RAR that isn't "free" . E.g., from the 7-Zip licence:

    unRAR restriction
    The decompression engine for RAR archives was developed using source
    code of unRAR program.
    All copyrights to original unRAR code are owned by Alexander Roshal.

    RAR is pretty much the default foprmat on Usenet binary groups, for instance.

    1. Re:There are already "free" unrar apps by 1u3hr · · Score: 2, Interesting

      PS: It'd be real news if there was a free app to CREATE RAR archives.

  5. The Unarchiver by PhunkySchtuff · · Score: 3, Interesting

    I'll put in a big thanks for The Unarchiver.

    I deploy it as my standard unarchiving utility on all desktops I manage. It replaces the Mac OS X built-in BOMArchiveHelper which isn't as smart about handling extracting multiple files at once, and it handles a vast range of file formats that you'd otherwise have to resort to the command-line to deal with. News of it adding RARv3 is the icing on the cake - not that I've encountered a RARv3 file, but because now I don't need to worry if I do as my standard utility will deal with it.

    Big double-thumbs up to Dag Ågren. Cheers.

  6. Re:Yay piracy! by retchdog · · Score: 4, Insightful

    in unix, yes. in the windows world, there's only two levels of difficulty: drag-and-drop or impossible. most users have winzip or 7zip or whatever and pirates have traditionally favored rar. thus, the rar standard emerges and metastasizes so that programs like vlc support it natively. kind of silly, but it works.

    if you want to cry, follow this link and count the number of shitty gui hacks that do nothing but "split" and "cat": http://www.google.com/search?q=split+file+windows

    --
    "They were pure niggers." – Noam Chomsky
  7. Re:Yay piracy! by mikael_j · · Score: 3, Insightful

    The problem with RAR files and Bittorrent is "scene snobbery". Basically, people reason that since all scene releases are released in RAR archives then all media distributed should be distributed as multi-file RAR archives. This can be seen on invite-only torrent sites that demand that all upload regardless of origin be split into multiple RAR files.

    And should someone point out that it's really only when downloading files using FTP and other non-checksummed protocols that this is necessary then they will be screamed down by the know-nothings. And then there's the whole thing where they seem to insist on using 25 or 50 MB files instead of larger chunks. If you're grabbing files from an FTP/HTTP server dedicated to sharing these large media files chances are that the server is able to push the files to you faster than say, 10 Mbps, and we'll assume that's as fast as your connection is, that means you can grab a 250 MB file in approximately 3m30s if we assume no overhead, if we a assume you have a regular uncapped g.dmt ADSL connection (8/0.8 Mbps) with the typical EoATM and TCP overhead for your transfers then we're still talking less than five minutes for a 250 MB chunk. Contrast this with people splitting things into 5 or 10 MB chunks back when a lot of people were still on modem connections, a single 5 MB chunk would take more than ten minutes on a good day...

    --
    Greylisting is to SMTP as NAT is to IPv4
  8. Re:Yay piracy! by king+neckbeard · · Score: 3, Insightful

    multi-rar archives in torrents? Just thinking about that makes my blood boil.

    --
    This is my signature. There are many like it, but this one is mine.
  9. Re:Seriously, just download WinRAR. by king+neckbeard · · Score: 2

    The importance is that this is free as in freedom software. Ubuntu, gNewSense, and Debian can all legally ship this out of the box.

    --
    This is my signature. There are many like it, but this one is mine.
  10. Re:Yay piracy! by Arlet · · Score: 2

    You can't repair corrupted/missing archives with md5/sha1. The .rar format is perfect for usenet, where missing parts is very common.

  11. Already had source code by peppepz · · Score: 3, Informative
    You could already download the UnRAR source code from the RAR web site itself; if all you want to do is to extract RAR files, its license doesn’t look too evil (I'm quoting the most "problematic" part):

    The UnRAR sources may be used in any software to handle RAR archives without limitations free of charge, but cannot be used to re-create the RAR compression algorithm, which is proprietary. Distribution of modified UnRAR sources in separate form or as a part of other software is permitted, provided that it is clearly stated in the documentation and source comments that the code may not be used to develop a RAR (WinRAR) compatible archiver.

    OK, it's no GPL, but still I'd say that it puts "open source" RAR support in a better position than other high priority GNU projects such as Flash support, where your only chance to have a good experience is to use binary-only code.

  12. Re:Yay piracy! by Anonymous Coward · · Score: 5, Funny

    pirates have traditionally favored rar.

    Your hearing may be faulty. Pirates have traditionally favored har and yarr!

  13. Most distro's already include unrar don't they? by timbo234 · · Score: 2

    On the 2 distros I've used most in the last 8 years (Mandriva and Opensuse) unrar is already included (in Mandriva from the PLF repo, in Opensuse from the non-oss repo). So what's the advantage of this new program?

    --
    Pre-canned Evolution Links for all those Slashdot holy wars.
    1. Re:Most distro's already include unrar don't they? by thegarbz · · Score: 2

      UnRAR is a binary. This is why it's in the non-oss repo in Opensuse. The advantage is that this one is under an open source license.

    2. Re:Most distro's already include unrar don't they? by arkhan_jg · · Score: 2

      unrar is by rarlab, the same company that makes winrar and is run by Alexander Roshal - and licences the format from Eugene Roshal, who invented it. It's shareware, and can only decompress files, not create them. Rar and winrar, that can create archives, are closed source.

      This one is open source, and thus can be incorporated more easily into other open source apps for extraction of the current v3 of rar files; previously, unrarlib could do v1 and v2, but not v3.

      --
      Remember kids, it's all fun and games until someone commits wholesale galactic genocide.
  14. Re:Yay piracy! by Ash-Fox · · Score: 2

    Another nifty thing is that RAR actually supports Unix permissions in it's container. So it's pretty useful on *nix systems when you need to archive a large set of directories, maintaining various permissions (like 'executable').

    As you pointed out with seeking, this is useful for when you want to extract specific compressed 'backup' data quickly. The fact it maintains Unix file permissions makes it a viable solution on *nix.

    --
    Change is certain; progress is not obligatory.
  15. How long ago was this? by tepples · · Score: 3, Insightful

    the one time i tried a 7z only client

    How long ago was this? When I switched to 7-Zip nearly four years ago, it already had the same sort of shell integration that WinRAR had.

  16. Re:Yay piracy! by drooling-dog · · Score: 2

    if you want to cry, follow this link and count the number of shitty gui hacks that do nothing but "split" and "cat"

    Oh lordy, if anything typifies the Windows ecosystem for me, this has to be it. I can't count how many posts I've seen on Usenet discussing where to find shiny software that essentially does nothing but "cat file.avi.* > file.avi". I'm sure that such a thing must be possible from the command line, but the majority of Windows users are afraid to venture there.