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.

So I don't have root permissions but I've been installing packages to a local directory on my(CentOS) system and it works fine.

But I was wondering if I can do the same using yum. The reason I want to use yum is because I don't want to worry about dependencies and want yum to take care of that for me. Is there a way to do this?

Thanks.

share|improve this question
    
Have a look here, here and specially here; while these questions might look pretty different, I think they are not (at least their answers are relevant here). Oh, and there is this, indicating that there might be a solution using yumdownloader and rpm --relocate. –  sr_ Mar 8 '12 at 19:14
    
I am not sure if yum localinstall has a preview mode that can be used by non-privileged users as well. –  Nils Mar 8 '12 at 21:25

1 Answer 1

I don't think that's possible. If you are a sudoer , you could run : sudo yum ......

share|improve this answer
1  
This is true, but I'm pretty sure "I don't have root permissions" means he's not a sudoer –  Michael Mrozek Mar 8 '12 at 19:43

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.