create local repo for yum or dnf

inode0 inode0 at gmail.com
Fri Nov 21 19:47:37 UTC 2014


On Fri, Nov 21, 2014 at 1:42 PM, Neal Becker <ndbecker2 at gmail.com> wrote:
> Can yum or dnf use the local filesystem for a repo?
>
> I can run createrepo on my local rpms under rpmbuild/RPMS.
>
> Can I tell yum or dnf to look there?  I don't want to have to setup a web server
> to do this.

You should be able to use file:// instead of http:// in the baseurl.

John


More information about the users mailing list