-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace unrar with unarchiver #16868
Comments
But 7z has the unrar capability already. Anyway, a good acquisition to nixpkgs tree. |
I did not know that 7z supports unpacking of RAR 2/3/4/5. That is great news.
So the unrar dependency can probably go from ark and callibre. |
Is a good idea of add TheUnarchiver, but also bad idea remove unrar completely. Let folks to have a choice. |
Ark does not support using 7z for rar, but it does support using unar instead of unrar [1]. That's a good reason for packaging unar. |
7z's rar support is based on unrar, so it does suffer from the same licensing problems. I'd be very suspicious about any RAR-unpacking tool claiming to have a completely free license, but reading Debian's copyright file is enough to me. |
@matthewbauer has been working towards proper support for objective-c Foundation libraries and gnustep-make making my PR redundant and my WIP package likely obsolete.
Good luck :) |
Ok so unar is now in nixpkgs. What should be the closing criteria for this issue? We can remove "unar" from release-small.nix and add "unar" and then close this issue? |
It would be great if those various apps could also be switched (ark, calibre, ...), but I don't know where the upstreams support that. |
It's a free (SW) alternative. See #16868.
unrar is already marked as unfree package via so i think its not sensible to go for "killing" the unrar package, per se - in particular if its not yet a switchable runtime dependency for the other tools any tool that adds rar support by expecting a unrar will need unrar until it is enhanced to also support unar @vcunat i don't in particular understand why unrar has to go from the small build set just because a different package that is NOT a replacement is added |
Can you elaborate on why it is not a replacement? |
for one, the commands differ, in both name and accepted arguments/cli logic, so any tool relying on unrar as a command cant use it at all, so a well versed user may be able to use it on the cli, but any other program expecting unrar cant unar is strictly an alternative, not a replacement |
Right, I didn't mean it as a drop-in replacement and we don't use it that way AFAIK. I consider it a preferred alternative. |
btw, is it intended to add clang to the small set? |
I don't know that (and I don't see it there). |
Closing this issue (triage). |
Issue description
Nixpkgs ships with unrar. Unrar is not free software because the unrar license forbids reverse engineering of the rar compression algorithm.
Until recently, no other software was able to uncompress RAR v2.9+ formats. (Edit: 7z can uncompress RAR files.)
Since May 2016, TheUnarchiver supports RAR v5 files [1]. So now the command-line tool
unar
can be used instead ofunrar
.Other distros such as Debian already ship
unar
[2].[1] http://unarchiver.c3.cx/formats
[2] https://packages.debian.org/jessie/unar
The text was updated successfully, but these errors were encountered: