Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is it possible to install Gentoo packages (ebuild-enabled programs, programs with support for portage) as an ordinary user (non-root) to one's own home directory (--prefix=$HOME or sth. like that)?

share|improve this question
    
portage is very flexible, and I'd hazard a guess that with the right environment variable settings it could be done. But I'm not exactly sure what they would be right now. –  Keith May 28 '11 at 6:43

1 Answer 1

up vote 3 down vote accepted

I'm pretty sure this should be doable using Gentoo Prefix.

Usually, Gentoo's Portage installs in the root of the filesystem hierarchy, '/'. On systems other than Gentoo Linux, this usually results in problems, due to conflicts of software packages, unless the OS is adapted like Gentoo/FreeBSD. Instead, Gentoo Prefix installs with an offset, allowing to install in another location in the filesystem hierarchy, hence avoiding conflicts. Next to this offset, Gentoo Prefix runs unprivileged, meaning no root user or rights are required to use it.

share|improve this answer
    
Could you give me step by step instruction how to install given package locally? –  Jakub Narębski May 28 '11 at 15:18
    
I think you'll be better off reading the docs, they're more accurate than anything I could reproduce here. –  Cedric May 29 '11 at 12:07
    
Unfortunately from first browsing they do require good konwledge of Gentoo... and I am just beginning to use computer with Gentoo installed. As far as I have checked they lack step by step instruction. Still, I'll be trying. –  Jakub Narębski May 29 '11 at 14:32
    
follow the solaris guide like they suggest: gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml –  lkraav Jun 1 '11 at 1:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.