Questions from a Linux refugee

Matthew Seaman m.seaman at
Thu Jan 8 01:08:25 UTC 2015

On 01/07/15 12:51, Ben Woods wrote:
>> "make missing | pkg install" to get the dependencies
> This command doesn't work for me with pkgng 1.4.4 (I don't think the pipe
> to pkg works):
> # make missing | pkg install
> Usage: pkg install [-AfInFMqRUy] [-r reponame] [-Cgix] <pkg-name> ...
> For more information see 'pkg help install'.


# make missing | xargs pkg install

pkg(8) doesn't read package names etc. from stdin in general -- the one
exception is pkg-annotate(8).  So use xargs to turn that pipeline into a
command line.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-questions mailing list