pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing packages with wildcards



  Hello!

coypu%SDF.ORG@localhost writes:

> If you are me, you hate installing all the gstreamer plugins one at a
> time. So you will enjoy the following one liner (well, two lines to fit
> it under 80 characters...):
>
> # cd /usr/pkgsrc/ && printf '%s\n' ./multi*/gst-plugins1*/ \
>   | xargs -I % sh -c 'cd %; make install; cd ../../'
>
> I think it's pretty handy.

I suggest that you learn using pkgtools/pkg_chk.

First, you'll have list of packages you actually need (which helps when
you need to reinstall/recover your system), second, this list is machine-
processable (you can feed it to pbulk to build limited list of packages).


-- 
HE CE3OH...



Home | Main Index | Thread Index | Old Index