First of all, thanks for your answer.

> Hi,
>
> > How do portage determines where a certain package has to be
> > installed (eg, /,
> > /usr, /usr/local, /opt or whatever)?
>
> That's in the Makefile of the package, and in the ebuild.  From the
> user's viewpoint it's predefined.

If so, how can one change these?
ie, doing something similar to passing "prefix=/something" to the configure 
scripts? How can the user choose where to install some package (if it's 
possible at all, of course).

> > Another question: how can one find out what package a given
> > file belongs to?
>
> Check out qpkg.  I believe it is in the gentoolkit package.

A quick look at the man page shows that qpkg -f only finds files belonging to
INSTALLED packages. To query uninstalled packages the -U flag is used, but -f 
and -U are incompatible. Any other suggestion?

Thanks


--
[EMAIL PROTECTED] mailing list

Reply via email to