Package Details: unarchiver 1:1.10.1-1

Git Clone URL: (read-only)
Package Base: unarchiver
Description: unar and lsar: Objective-C tools for uncompressing archive files
Upstream URL:
Licenses: LGPL2.1
Submitter: cgirard
Maintainer: cgirard
Last Packager: cgirard
Votes: 73
Popularity: 1.798304
First Submitted: 2011-04-06 12:38
Last Updated: 2017-08-21 13:54

Latest Comments

anatolik commented on 2018-03-16 15:05

Hello folks,

One of [community] packages depends on 'unar' tool

I would like to move this package to [community]. Are you OK with it?

cgirard commented on 2017-12-18 10:39

You just need to rebuild it.

rusatch commented on 2017-12-18 08:43

Hi! After some updates unar requires , but installed:

unar --help unar: error while loading shared libraries: cannot open shared object file: No such file or directory

ldconfig -p | grep libicuuc (libc6,x86-64) => /usr/lib/ (libc6) => /usr/lib32/ (libc6,x86-64) => /usr/lib/ (libc6) => /usr/lib32/

Is there solution?

cgirard commented on 2017-08-21 13:58

@eang Thanks. Updated the URL.

eang commented on 2017-07-31 14:18

Found it, the new repo lives here:

eang commented on 2017-07-31 14:06

Still haven't found a new link for the source code.

eang commented on 2016-03-10 09:35

You're right :(
The PKGBUILD I linked installs under /usr/lib/unarchiver, which is not a good thing to do... (and indeed, namcap complains about it).

cgirard commented on 2016-02-29 14:59

@elv: I confirm daimonion observation
ldd /usr/bin/unar => [...]/usr/lib/[...]

daimonion commented on 2016-02-28 16:10

I uninstalled gnustep-base and this is a result:

unar: error while loading shared libraries: cannot open shared object file: No such file or directory

eang commented on 2016-02-28 15:38

@cgirard: could you please move gnustep-base to makedepends? It is actually a build dependency and not a runtime one. See also this pkgbuild [1] which builds and works just fine.


GuestOne commented on 2013-11-07 15:04

Please update to 1.8.1

rtfreedman commented on 2013-09-11 16:14

I've tried right after updating gnustep libs yesterday and failed.
Now I've tried again and succeeded... strange!
Sorry for the noise.

cgirard commented on 2013-09-10 21:04

Strange. It works for me and functions.h is in The Unarchiver/XADMaster/libxad/include/ so it should be found.

rtfreedman commented on 2013-09-10 19:42

Doesn't build anymore:
libxad/debug.c:26:23: fatal error: functions.h: No such file or directory
#include "functions.h"
compilation terminated.
make: *** [Build/libxad/all.o] Error 1
==> ERROR: A failure occurred in build().

cgirard commented on 2013-05-14 11:40

@dx: I modified the description to include unar & lsar in it.

dequis commented on 2013-05-12 09:37

You should name this package "unar" then, or at least mention in the description that it's not the mac OS X app called "unarchiver" and that it includes unar and lsar. I was looking for the commandline tool and was confused about this package, had to check the PKGBUILD to confirm. But it was what I need, so thanks for maintaining this.

cgirard commented on 2012-11-26 21:37

I have switched the package to "unar" source files as it reduces unnecessary downloads. The version number has been switched accordingly.

cgirard commented on 2012-10-23 18:15

The CLI is multi-OS:

GuestOne commented on 2012-10-23 17:57

Latest version is 3.4.
But my question is: this is not a Mac software only? is a command line tool or have a gui?

cgirard commented on 2012-07-15 18:43

Orphaning the pkgbuild temporarily. I will be back in 2 week and will adopt it back if still orphan.

rtfreedman commented on 2012-05-13 05:25

current version 3.2

daimonion commented on 2012-04-14 21:59

3.1 was released 8 days ago.

cgirard commented on 2012-04-06 14:33

Yes thank you fauno and Demon. I'm laking a bit of time right now. I try to update this, this week-end.

daimonion commented on 2012-04-06 10:22

cgirard, use PKGBUILD fauno provided, it works. Also please update it with following (it will install man files as well):

package() {
cd "$srcdir/XADMaster"
install -d "$pkgdir/usr/bin/"
install -d "$pkgdir/usr/share/man/man1"
install -m755 unar lsar "$pkgdir/usr/bin/"
cd "$srcdir/Extra"
gzip -c lsar.1 > lsar.1.gz
gzip -c unar.1 > unar.1.gz
install -m644 unar.1.gz lsar.1.gz "$pkgdir/usr/share/man/man1"

fauno commented on 2012-04-02 01:29

I'm building 3.0 right now. PKGBUILD will be at

Thanks for your pkgbuild!

cgirard commented on 2012-03-21 13:29

Thanks. Linux makefile has disappeared and Linux support does not seems to appear on the website anymore. I'll have a deeper look to see if this can still works.

daimonion commented on 2012-03-21 13:19

3.0 is out.

cgirard commented on 2011-12-22 10:02

OK sorry about the long delay. Hope it works now.

I had to put back a patch that was no more needed. Seems we are dependent of compile flags used by gnustep-base. Had to add another one for a missink link directive for libz.

Anonymous comment on 2011-12-21 18:37

getting the same error :(

evanlec commented on 2011-12-11 21:23

@andy123 can you explain how you recompiled gnustep-base exactly? did you change config options when building or something?
having same problem as @adaptee. Thanks

ajs124 commented on 2011-10-10 20:30

i got the same error, but after recompiling gnustep-base, it worked.

adaptee commented on 2011-10-08 11:19

It fails to build. Any suggestion?

==> Starting build()...
gcc -std=gnu99 -c -O2 -Wno-import -Wno-multichar -g -D_FILE_OFFSET_BITS=64 -isystem /usr/include/GNUstep -DGNUSTEP -DGNU_RUNTIME=1 -D_NATIVE_OBJC_EXCEPTIONS -fgnu-runtime -fexceptions -fobjc-exceptions -fconstant-string-class=NSConstantString unar.m -o unar.o
gcc -std=gnu99 -c -O2 -Wno-import -Wno-multichar -g -D_FILE_OFFSET_BITS=64 -isystem /usr/include/GNUstep -DGNUSTEP -DGNU_RUNTIME=1 -D_NATIVE_OBJC_EXCEPTIONS -fgnu-runtime -fexceptions -fobjc-exceptions -fconstant-string-class=NSConstantString CSCommandLineParser.m -o CSCommandLineParser.o
In file included from /usr/include/Foundation/NSClassDescription.h:30:0,
from /usr/include/Foundation/Foundation.h:50,
from CSCommandLineParser.h:1,
from CSCommandLineParser.m:1:
/usr/include/Foundation/NSException.h:44:2: error: #error The current setting for native-objc-exceptions does not match that of gnustep-base ... please correct this.
In file included from /usr/include/Foundation/NSClassDescription.h:30:0,
from /usr/include/Foundation/Foundation.h:50,
from XADUnarchiver.h:1,
from unar.m:1:
/usr/include/Foundation/NSException.h:44:2: error: #error The current setting for native-objc-exceptions does not match that of gnustep-base ... please correct this.
make: *** [CSCommandLineParser.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [unar.o] Error 1
==> ERROR: A failure occurred in build().

cgirard commented on 2011-05-31 18:36

I perfectly understand your point but I won't add such a field. Please take a look at this thread on the ML:

psychedelicious commented on 2011-05-31 17:49

The reason I asked for the "provides" line is to satisfy dependencies on packages that rely on unrar. Unrar is not 100% FLOSS whereas unarchiver is. I hope this clears things up for people.

rtfreedman commented on 2011-05-23 00:36

As a side note, I was able to unpack ancient .arc archives from 1986 for the first time - thanks unarchiver :)

rtfreedman commented on 2011-05-23 00:00

I'm not yet familiar with PKGBUILD's - but it seems everything is as it should be.
Unless there is a generic "provides" it doesn't really help and it clearly doesn't replaces anything.

cgirard commented on 2011-05-22 12:43

However, "provides" is different than "replaces". The Unarchiver does provides the same functionality than unrar (but with a different binary and syntax).
I'm not really sure what is the correct approach there.

rtfreedman commented on 2011-05-22 12:11

Pardon, I've used Parabola's build and didn't bother to look at your PKGBUILD.

cgirard commented on 2011-05-22 09:11

There is no provide field in this pkgbuild.

rtfreedman commented on 2011-05-22 00:30

Please remove provides=('unrar')
The binaries are named lsar and unar - so there is no conflict with unrar and no need to uninstall it!

psychedelicious commented on 2011-05-11 21:27

can you please add the following to the PKGBUILD?


cgirard commented on 2011-05-06 18:42

Great! If you notice any needed improvement please tell me. I'm not used to Objective-C/gnustep packaging.

fauno commented on 2011-05-06 16:27

I've included your package into Parabola's repos :)