Bug 350054 - [RAR] Fallback to libarchive implementation if no cli tools are installed
Summary: [RAR] Fallback to libarchive implementation if no cli tools are installed
Status: REOPENED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-09 14:55 UTC by Pauline Emily
Modified: 2023-08-12 23:48 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pauline Emily 2015-07-09 14:55:24 UTC
Ark currently requires the unfree `unrar` program to extract RAR archives, while there are nowadays free alternatives like libarchive, used eg. with the `bsdtar` command line tool. I suggest to change it, so we don't need to use unfree software or the command line.

Reproducible: Always
Comment 1 Elvis Angelaccio 2015-07-10 21:03:21 UTC
Libarchive does not have feature parity with unrar. See here for more details: https://github.com/libarchive/libarchive/wiki/ManPageLibarchiveFormats5#RAR
Comment 2 Ragnar Thomsen 2015-07-29 11:24:26 UTC
Resolving as wontfix. Libarchive's support for rar is not nearly good enough.
Comment 3 hanno 2019-12-12 10:11:56 UTC
Is this still current?
The link no longer works, what features are missing in libarchive?

And wouldn't it make sense to at least support libarchive as a fallback if one doesn't have any of the commandline tools installed?
Comment 4 Elvis Angelaccio 2019-12-15 12:49:25 UTC
Maybe, needs investigation. Re-opening with a new title.

Note that in the meantime, ark supports unar which is free software.
Comment 5 Eidur Eidsson 2023-08-12 23:48:18 UTC
Maybe allow 7-zip as a fallback, or is that no better than libarchive?