[Ilugc] Yum without Root Permission

  • From: metherid@xxxxxxxxx (Rahul Sundaram)
  • Date: Thu Jun 17 12:57:50 2010

On 06/17/2010 12:13 PM, sivakumar wrote:

Yum does support a --installroot option which you can use to install
packages into a chroot which might be some location under your home
folder.  Maintaining a clean chroot like that wastes a lot of space
however.  
    
My guess one would not be able to use yum without root permissions. To
my belief yum needs permissions to update the repo data, hence it might
fail. which means we might need yum itself in a different location which
will not depend on files which are on /etc, /var, etc.
  

Err,  avoid guessing.  I know this method works because we use it
extensively in Fedora to actually build packages using a system called Mock

Rahul

Other related posts: