You are not logged in.

#1 2005-12-12 16:44:39

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

RAR archives

Hello,

Does Arch have a package to unpack rar files? I wouldn't have asked it if the search wasn't broken, and pacman -Ss didn't return every package with the world libRARy...

Offline

#2 2005-12-12 16:50:39

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: RAR archives

pacman -S rar

Offline

#3 2005-12-12 16:58:03

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: RAR archives

Snowman wrote:

pacman -S rar

:shock: Why can't pacman search on name only, instead of by description?

Well, thanks anyway

Offline

#4 2005-12-12 17:07:20

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: RAR archives

LB06 wrote:
Snowman wrote:

pacman -S rar

:shock: Why can't pacman search on name only, instead of by description?

Well, thanks anyway

Actually, pacman search by name and description.  I agree that in some case the search is not really helpful.

Offline

#5 2005-12-13 09:42:06

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: RAR archives

Yes, packages with fewer characters can be bothersome. Pacman can use a little help here, but the description part actually aids this process.

If you need only the line with package name, one of the characteristics of the pacman search return is it gives you a directory format for which repo its in. 
You can make use of this feature and use grep to catch the / in the returned line.
try

pacman -Ss name-of-package |grep -F /

This will also give mention of other packages that have association with the one you are checking as pacman kindly catches that association, because of the description, but now will only show the line with the package name
hth.

edit:
maybe add the package name to the frontslash is a better way to reduce output even further, try another 3 letter package to illustarte the difference: -

pacman -Ss man  |grep -F /

            then

pacman -Ss man  |grep -F /man

im sure there will be other workarounds/tweaks etc too, play around a bit.

Offline

#6 2005-12-14 12:51:12

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: RAR archives

Kern wrote:

pacman -Ss man  |grep -F /man

brilliant. Try it out with replacing 'man' with 'rar'  big_smile


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#7 2005-12-14 13:02:04

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: RAR archives

Try it out with replacing 'man' with 'rar'

thats how i started. man was just another 3 letter name that gave heaps of results. just for proof of concept.
try it for the at package, both with and without the filter :twisted:

grep, so much fun, such a small command.

thx for the f'back,  happy it helped.   8)

Offline

Board footer

Powered by FluxBB