[CentOS] Creating a personal repo

Robert Heller heller at deepsoft.com
Fri Sep 11 15:22:47 UTC 2009


At Fri, 11 Sep 2009 09:32:43 -0400 CentOS mailing list <centos at centos.org> wrote:

> 
> Hi,
> 	That's what i was thinking, i was unable to find any setup docs for
> this type of setup. 
> 	Dave 

Create a directory, say myrepro:

mkdir -vp myrepro/i386

Put one or more rpms there:

cp foo-1.0.0-1.i386.rpm bar-1.2.3-99_el4.i386.rpm \
	megasuper-kernel-2.6.25-686_el99.i686.rpm myrepro/i386


Then run createrepo:

createrepo myrepro/i386

Done.

'man createrepo' gives you what you need.

> 
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
> Of Michael Semcheski
> Sent: Friday, September 11, 2009 9:26 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] Creating a personal repo
> 
> On Fri, Sep 11, 2009 at 9:23 AM, Dave <dave.mehler at gmail.com> wrote:
> 
> 
> 	Hello,
> 	       I'm wanting to create a yum repo for what is at this point
> rpm
> 	development for personal use, i might eventually open it up but
> right now i
> 	have some rpms i need to debug. I've installed createrepo but the
> docs i've
> 	read indicate that i have to install the base distros rpms, in repos
> i've
> 	seen via a webview they only had packages that they built in the
> repo.
> 	Thanks.
> 	Dave.
> 	
> 
> 
> All you need for createrepo to work is one or more RPM's.  You don't need
> the base distros rpms.
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                          

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
     



More information about the CentOS mailing list