apt vs yum

Milan Kerslager milan.kerslager at pslib.cz
Thu Oct 16 09:34:29 UTC 2003


On Thu, Oct 16, 2003 at 09:14:20PM +1300, Mark Derricutt wrote:
> On Thu, 16 Oct 2003 11:06:07 +0300, Pekka Pietikainen wrote:
> 
> > yum is a lot easier to setup on the server end. Hhopefully this has been
> > improved for apt lately, setting up the directory hierarchy for it was not
> > trivial last time I tried it.
> 
> Speaking of yum server setups, anyone know of any HOWTO guides on setting
> up a yum repository?   I've got a few rpms I'm building and was thinking
> of apt-ifying, but wouldn't mind checking out yum...

mkdir -p /var/ftp/pub/linux/yum-repository/redhat/9/i386
cd /var/ftp/pub/linux/yum-repository/redhat/9/i386
ln -s ../../../../redhat/9/i386/RedHat/RPMS RPMS
yum-arch -l .


You can make more symbolic links to any other directory.


yum.conf
========
...

[mypkgs]
name=Red Hat Linux $releasever - MyPkgs
baseurl=ftp://ftp.yourserver.com/pub/linux/yum-repository/redhat/$releasever/$basearch/


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





More information about the fedora-test-list mailing list