Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I emerge without root? Like with npm or pip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vitaly-zdanevich
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2019
Posts: 105
Location: Belarus

PostPosted: Sun Aug 25, 2024 1:52 pm    Post subject: Can I emerge without root? Like with npm or pip Reply with quote

Hi, when some software is from third-party overlay just fetch a few files - can I omit the root privilege? To install only for the current user.

I read about --root flag and --prefix https://wiki.gentoo.org/wiki/Project:Prefix

Looks like --root is simpler. Is it a suitable approach for security?

Thanks for the help.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1629
Location: Germany

PostPosted: Sun Aug 25, 2024 2:15 pm    Post subject: Reply with quote

Never used it, but the What is this Prefix? sounds like what you want.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum