Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rar vs unrar - what's the point?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Spidey
Apprentice
Apprentice


Joined: 07 Sep 2006
Posts: 269

PostPosted: Tue Nov 29, 2011 2:35 am    Post subject: rar vs unrar - what's the point? Reply with quote

eix tells me that the website for rar is rarsoft.com, and for unrar is rarlab.com. I'm pretty sure they're mirrors, altought I haven't checked with whois or anything.
So, what's the point on having these two on the portage tree. The version numbers are different, which could indicate that they are really different projects, maybe based on the same RAR lib, provided by RARLab. The linux version for RAR, on their website, is 4.10 beta 4. None of those have this version available.

So, anyone knows that are these two packages?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Nov 29, 2011 3:18 am    Post subject: Reply with quote

For this type of question, you need to learn to read ebuilds a little bit. A quick examination reveals that
  • rar is a binary (src_compile() emerge phase function is intentionally no-op'd), available for only x86 architectures.
  • unrar is compiled from source and is available for all architectures.
More examination would result in more discovery. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Nov 29, 2011 8:31 am    Post subject: Reply with quote

unrar is opensource and independent implementation which can unpack rar files (but iirc can not create rar files). rar is the closed source implementation which can do both.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Spidey
Apprentice
Apprentice


Joined: 07 Sep 2006
Posts: 269

PostPosted: Wed Nov 30, 2011 2:53 pm    Post subject: Reply with quote

Ops, my bad in being lazy and not thinking about reading the ebuild. I've been fooled by most binary packages using the -bin suffix.
Thank you for the clarification. I'm sticking to unrar then.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum