Download all from -Ss

I want to download all the results when i do a search, is this possible?

Warning: these commands are only on one line each
Note:
1. must be run as root
2. replace "pacman -Sw" with "pacman -Sy" to install the packages. "pacman -Sw" only downloads the packages.
3. Replace string by what you're looking for. Note that there are 2 positions where STRING must be replaced in the first example.
The following lines installs all packages with STRING in their name.
pacman -Ss STRING | grep "/.* [0-9]..*-*." | grep "STRING" |
sed -e "s/^.*///g" | sed -e "s/ .*$//g" | while read p; do yes | pacman -Sw $p ; done
The following line installs all files which have STRING in their name OR description.
pacman -Ss STRING | grep "/.* [0-9]..*-*." | sed -e "s/^.*///g" | sed -e "s/ .*$//g" |
while read p; do yes | pacman -Sw $p ; done
Or.. maybe you're looking for groups. Use
pacman -Sg
to list all the available groups.

Similar Messages

Maybe you are looking for

  • MacPro won't boot-up...I think it's hardware related

    Sorry, this is detailed, but I figured I had to explain everything I've done so far and the issues I've had. Thanks much! My MacPro won't boot up. Initially I thought it was a software problem, and went through this thread looking for help. After a w

  • Dual graphics - I cant run radeon, only intel.

    I have laptop Lenovo G510. It has integrated Intel graphics card and Radeon HD 8570M. I wanted use only radeon (with xf86-video-radeon), but only drivers for intel (xf86-video-intel) working. [x@arch64 ~]$ lspci | grep -e VGA -e 3D 00:02.0 VGA compat

  • How to deploy multipe instances of Oracle Adapter

    Hi, I just started working on Oracle fusion stack. We are integrating OracleApplications e-Business suite with PSFT. Data sync requirement. I could configure and use OracleApps Adapter. But i am facing issues with deployment How can I deploy & monito

  • Rebate Agreements

    Hi SAP Gurus, I have two rebate agreements. one is valid from 27.08.2008 to 01.02.2009 and Agreement status is B. another one is valid from 28.08.2008 to 01.02.2009 and Agreement status is open. Now the problem is duplication commision were triggered

  • How we represent largest code point in UTF-8 and UTF-16 whats the differenc

    how we represent largest code point in UTF-8 and UTF-16 whats the differenc points will be awarded