François-Xavier Carton wrote: > Hi, > > Is there a way of installing packages in a different prefix while still > using system packages? I've tried setting EPREFIX, however doing that > will install all dependencies in the prefix, even if there are already > installed in the system. > > I was hoping to install some packages in user directories, but I also > don't want to duplicate the packages installed globally. For example, > most packages eventually depend on gcc, which I definitely don't want to > compile twice. So ideally, only dependencies that are not installed > globally should be pulled in. > > I was not able to find a way of doing that, but I feel like it shouldn't > be too hard, because EPREFIX almost does what I want. Does someone know > if it's possible without too much tweaking? > > Thanks, > -François-Xavier > I'm clueless on EPREFIX but if you want to avoid compiling a package twice, would the -k option help?  If you have portage set to save the binaries you compiled before, it would install from that instead of compiling things twice.  Just thought I'd mention just in case it would help.  Dale :-)  :-)