LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   use yum in simple user in specific path (https://www.linuxquestions.org/questions/linux-software-2/use-yum-in-simple-user-in-specific-path-721106/)

Ziuccio 04-23-2009 04:29 AM

use yum in simple user in specific path
 
Hi all

i hava a problem to solve:
at moment i hava an alternative db in rpm, in this way a simple user can install package without root privilege.
now, someone know if is possible do a similar thing with yum?
i want that a simple user can use yum and install package in a specific path similar at rpm --prefix

thanks for help
Michele

JulianTosh 04-23-2009 07:27 AM

sudo is the best tool to use to allow root privilege to non-root users.

Ziuccio 04-27-2009 08:12 AM

Quote:

Originally Posted by Admiral Beotch (Post 3518324)
sudo is the best tool to use to allow root privilege to non-root users.

i know sudo command, but i have to do package installation witout root privilege in alternative rpm db and alternative installation path
the question is:
is possible do it with yum?

JulianTosh 04-27-2009 09:58 AM

Quote:

Originally Posted by Ziuccio (Post 3522389)
...in alternative rpm db and alternative installation path...

Sorry, I dont know what this means.

chrism01 04-27-2009 07:32 PM

yum is just a front-end/layer over rpm, so it should work I guess.
Give it a try and let us know.

Ziuccio 04-29-2009 08:02 AM

to solve this problem i have a idea, anyone know where does yum read the location of rpmdb?


All times are GMT -5. The time now is 02:57 PM.