7-zip vs. unrar

667 views
Skip to first unread message

lomov.vl

unread,
Mar 8, 2008, 5:30:49 AM3/8/08
to krusader-users
Hi all!
I'm using krusader about 1 year. Some time ago I found, imho, the best
archive utility - 7-zip. Krusader supports 7-zip archives as well as
rar and etc. 7-zip supports not only native archives (7z) but also rar
and much more and I wonder how to use 7-zip to view rar archives (I
don't like rar because it is not OpenSource) usually as Krusader do. I
thought about 'UserActions' but no sure. Could someone help me or
clarify the situations about archive support in Krusader (could I
change the programm that Krusader uses to process archive)?

Thanks in advance.
P.S. Sorry, if my English is poor.
---
WBR, Vladimir Lomov

Václav Jůza

unread,
Mar 8, 2008, 6:40:11 AM3/8/08
to krusade...@googlegroups.com
Hi Vladimir,
7zip module for rar handling is under the same non-free license
as the original unrar utility and are based on the same code (and for example
in Debian, there is a separate package p7zip-rar, which is under non-free
section), so there is no advantage in using p7zip for viewing rar archives.

If you prefer opensource unrar, there is some available in Debian, which has
the same syntax and name as the non-free unrar, but this does not handle all
versions of rar archives.

If you want to change the program, that Krusader uses to process archive, use
Settings->Configure Krusader->Dependencies->Packers, but the change works
only if the program you specify there has the same parameters as the default
one, which is probably not the case of p7zip and unrar (only if you had
written some wrapper, but I personally see no point in doing so).

Vaclav Juza

Dne so 8. března 2008 lomov.vl napsal(a):

lomov.vl

unread,
Mar 9, 2008, 7:06:57 AM3/9/08
to krusader-users
Good day Vaclav,

VJ> 7zip module for rar handling is under the same non-free license
VJ> as the original unrar utility and are based on the same code (and
for example
VJ> in Debian, there is a separate package p7zip-rar, which is under
non-free
VJ> section), so there is no advantage in using p7zip for viewing rar
archives.
Sorry, I had to investigate this question in first place.

VJ> If you prefer opensource unrar, there is some available in Debian,
which has
VJ> the same syntax and name as the non-free unrar, but this does not
handle all
VJ> versions of rar archives.
I see, the rarsoft site offers free unrar utility, so inspite of
proprietary archive format it is not hurt to use the programm.

VJ> If you want to change the program, that Krusader uses to process
archive, use
VJ> Settings->Configure Krusader->Dependencies->Packers, but the
change works
VJ> only if the program you specify there has the same parameters as
the default
VJ> one, which is probably not the case of p7zip and unrar (only if
you had
VJ> written some wrapper, but I personally see no point in doing so).
So, the programms listed there are standard in some sense and krusader
assumes that they have certain options.
Well, thanks for your time and description.

Алексей

unread,
Jan 9, 2012, 6:57:56 AM1/9/12
to krusade...@googlegroups.com
Hello!

Sorry for necroposting, but I want to use 7z for unpacking rar archives too, because unrar simply doesn't work well for me. unrar unpacks files using filenames in wrong encoding, while 7z-unrar uses proper encoding.

Here's quick hack, which makes krusader to unpack rar using 7z.
Proper fix really should check if 7z exists, if it supports rar archives, and to choose 7z or unrar, depending on that.

But probably this patch will be useful for someone else too...
unrar-using-7z.patch
Reply all
Reply to author
Forward
0 new messages