Centos – install using YUM without root permissions

centosyum

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.

Best Answer

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

Related Question