modify rar

I downloaded unrar package from software.opensuse. and installed, then the Ark support to extract the rar file, but not to modify the content inside the rar file, how can I do?

did you try to drag and drop stuff from the rar ?

On 2013-06-28 06:06, motutus wrote:
>
> I downloaded unrar package from software.opensuse. and installed, then
> the Ark support to extract the rar file, but not to modify the content
> inside the rar file, how can I do?

Because the “unrar” package only does un-rar, that is expand. It can not
compress to a rar file. Modifying contents means in fact expanding,
adding/removing files, then compress again.

And to compress you need the full rar package, which is not gratis nor
free. It is shareware. You test it for about a month, then pay them if
you want to continue using it.

You can get it from packman.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Drag and drop doesn’t work.
But there is “Add File…” and “Add Folder…” in the “Action” menu, those work (I just tried).

But you need to have rar (available on Packman) installed for that to work.
Unrar only does unpacking just as the name implies.

On 2013-06-28 12:16, wolfi323 wrote:
> But you need to have rar (available on Packman) installed for that to
> work.

And you need to pay money for it. :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Btw. I just saw that this should be fixed in 4.10.5:
https://bugs.kde.org/show_bug.cgi?id=308282
https://bugs.kde.org/show_bug.cgi?id=312693

drag and drop works for “rar” files with xarchiver and file-roller

Ok, but the OP was asking about Ark.
And drag and drop doesn’t really work there at all at the moment, so suggesting to try that won’t help him.

It should be fixed in KDE 4.10.5 though which will be released next Tuesday. But of course it will take a few weeks longer until it is in the 12.3 update repo…

Anyway, this is not about drag and drop support, but about modifying a RAR archive.
And I suspect xarchiver or file-roller don’t support that either with just unrar installed. (or maybe they use something else for .RAR support?)

I probably have rar installed from packman :wink:

On 2013-06-29 11:26, wolfi323 wrote:
> Anyway, this is not about drag and drop support, but about modifying a
> RAR archive.
> And I suspect xarchiver or file-roller don’t support that either with
> just unrar installed. (or maybe they use something else for .RAR
> support?)

No, impossible. RAR is not an open format, it is closed. You can freely
uncompress them, because they published the method, so there exists an
open “unrar” program. There is also the code for rar version 1
compression, it is also published. But the compression method used in
version 2 was not published nor reverse engineered: so if you want to
use the format you have to pay money to their devs, it is shareware.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Right, but that doesn’t mean that the file format hasn’t been reverse-engineered.
And that wouldn’t even be illegal.
Software patents are not possible everywhere in the world.

There were .doc file readers/writers available before Microsoft published the format, f.e…

Oh, and it seems version 2 of the RAR format HAS been reverse-engineered. According to the german Wikipedia article (I couldn’t find that in the english article):

Eine frühere Version des RAR-Formats wurde allerdings von den Autoren der Programme SpeedCommander und Squeeze reproduziert, weshalb diese ebenfalls RAR-Archive der inzwischen veralteten Version 2 erzeugen können.

In english:

An earlier version of the RAR format was reproduced by the authors of the programs SpeedCommander and Squeeze, which therefore also were able to create RAR archives for the meanwhile obsolete version 2.

But anyway, what you’re saying is right of course.
I just wasn’t sure if there maybe IS some free library or similar able to write RAR archives, which is used by xarchiver or file-roller.

On 2013-06-29 17:16, wolfi323 wrote:
>
> robin_listas;2568281 Wrote:
>> No, impossible. RAR is not an open format, it is closed.
> Right, but that doesn’t mean that the file format hasn’t been
> reverse-engineered.
> And that wouldn’t even be illegal.
> Software patents are not possible everywhere in the world.

I know.

> Oh, and it seems version 2 of the RAR format HAS been
> reverse-engineered. According to the german Wikipedia article (I
> couldn’t find that in the english article):

Ah. What is the current rar version? Maybe 3 :-?

> But anyway, what you’re saying is right of course.
> I just wasn’t sure if there maybe IS some free library or similar able
> to write RAR archives, which is used by xarchiver or file-roller.

AFAIK, no.
I looked time ago to see if there was something.

There are some features of rar that I like: error recovery is a very
important one to me. But, I’m not sure which of the Linux filesystem
attributes are respected, so I end by not using it…


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)