On Mon, 2008-09-15 at 02:19 +0000, Karl Dalen wrote:
> One feature that would be nice in IPS would be some way of finding out
> what
> package does a program or file belong to. Maybe there is and I've
> missed it.
> I sometimes find it hard to figure out what packages I need to install
> for a
> certain program.

You're in luck, because there is such a feature, the pkg search
subcommand.  Use "-r" to search the repository for a package that
contains a given token.  For example, "pkg search -r gnome-terminal".
You'll notice that "pkg search -r dtterm" indicates
that /usr/dt/bin/dtterm isn't in the OpenSolaris IPS repository.  That's
no accident.  It depends on Motif (as much of CDE does), which isn't
redistributable.

-Seb



Reply via email to