[WBEL-users] Re: [WBEL-devel] Rebuilt Progeny RPMs for RHL 7.2/7.3/8.0

Milan Kerslager milan.kerslager@pslib.cz
Sun, 18 Jan 2004 22:06:45 +0100


On Sun, Jan 18, 2004 at 11:26:24AM +0100, Jirka Kosina wrote:
> On Sat, 17 Jan 2004, Greg Brown wrote:
> 
> > > BTW, yum rocks.  I don't know why I haven't played with it until 
> > > recently.
> 
> Does it?
> 
> Is it for example possible (as with urpmi utility from Mandrake) to 
> install package from local disk and let yum satisfy dependeces from remote 
> repository? This is where urpmi and dpkg are significantly more useful.

1) Put your favourite RPM packages into directory /myrepo
2) Run yum-arch to generate header files: 
   $ yum-arch /myrepo
3) Add appropripate section to /etc/yum.conf

[mypkgs]
name=My Repository
baseurl=file:///myrepo

4) run one of this (read man yum to see what it do):
   $ yum -y update
   $ yum -y install name(s)-of-package(s)-from-my-repository
   $ yum list

-- 
                        Milan Kerslager
                        E-mail: milan.kerslager@pslib.cz
                        WWW:    http://www.pslib.cz/~kerslage/