You are not logged in.
Pages: 1
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
pacman -S rar
Offline
pacman -S rar
:shock: Why can't pacman search on name only, instead of by description?
Well, thanks anyway
Offline
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
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
pacman -Ss man |grep -F /man
brilliant. Try it out with replacing 'man' with 'rar'
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 ) #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
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
Pages: 1