You are not logged in.
I figure pacman is a great tool created by great people. Is there a way to install a whole lot of packages that are similar, like gstreamer plugins for example, quickly, without typing each one individually?
Offline
pacman -S --needed $(pacman -Ssq gstreamer0.10)
Offline
That doesn't quite work, Allan. The output of pacman -Ssq pkgname shows the size of the package also.
> pacman -Ssq gstreamer0.10
gstreamer0.10 [2.15 MB]
gstreamer0.10-bad [1.02 MB]
gstreamer0.10-bad-plugins [0.47 MB]
gstreamer0.10-base [1.41 MB]
gstreamer0.10-base-plugins [0.22 MB]
gstreamer0.10-ffmpeg [2.51 MB]
gstreamer0.10-good [1.05 MB]
gstreamer0.10-good-plugins [0.40 MB]
gstreamer0.10-python [0.36 MB]
gstreamer0.10-ugly [0.22 MB]
gstreamer0.10-ugly-plugins [0.12 MB]
gstreamer0.10-pulse [0.03 MB]
> pacman -S --needed $(pacman -Ssq gstreamer0.10)
warning: gstreamer0.10-0.10.24-1 is up to date -- skipping
[2.15 package not found, searching for group...
error: '[2.15': not found in sync db
Offline
in this case, what about
pacman -S gstreamer0.10-plugins
gstreamer0.10-plugins package not found, searching for group...
:: group gstreamer0.10-plugins (including ignored packages):
gstreamer0.10-base-plugins gstreamer0.10-ffmpeg gstreamer0.10-good-plugins gstreamer0.10-ugly-plugins
:: Install whole content? [Y/n]
Last edited by schuay (2009-09-06 08:59:03)
Offline
Ah - someone is using the ShowSize option in pacman.conf... if you use that, replace it with
pacman -S --needed $(pacman -Ssqq gstreamer0.10 | cut -f1 -d" ")
Edit: schuay pointed out a much better way... I did not realise that gstreamer plugins had a group.
Offline
Schuay, nice. At least that saves me typing it a bunch of times. Only twice, once for this and once for the bad ones.
Thanks
Offline
Schuay, nice. At least that saves me typing it a bunch of times. Only twice, once for this and once for the bad ones.
Thanks
Err, just noticed - how come the bad plugins aren't included in the group?
Offline
jimmy the saint wrote:Schuay, nice. At least that saves me typing it a bunch of times. Only twice, once for this and once for the bad ones.
ThanksErr, just noticed - how come the bad plugins aren't included in the group?
Because they got sent to the corner to think about what they did.
Offline