OK. I've done this for the rpmfusion-nonfree repo. I started in a folder /temp in my home path, so it's /home/glenn/temp. I issued
PHP Code:
reposync --repoid=rpmfusion-nonfree --download_path=/home/glenn/temp
This downloaded 176 files and saved them in
/home/glenn/temp/rpmfusion-nonfree. Now I'll run
createrepo. You will need to make sure that createrepo is installed on your system. If it isn't then install it with
PHP Code:
su -c 'yum install createrepo'
Now you can run the command createrepo.
PHP Code:
[glenn@phenom14 temp]$ createrepo rpmfusion-nonfree
176/176 - larabie-uncommon-fonts-0-0.5.20011216.fc11.noarch.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Now create a
.repo file in the folder
/etc/yum.repos.d. Here's my test file.
PHP Code:
[rpmf-nonfree]
Name=RPMFusion Non-Free Local Repository
baseurl=file:///home/glenn/temp/rpmfusion-nonfree/
Very basic but it works. Here's yum repolist on my system now.
Code:
[glenn@phenom14 yum.repos.d]$ yum repolist
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Adding en_US to language list
Loading mirror speeds from cached hostfile
* fedora: mirror.seas.harvard.edu
* rpmfusion-free: mirror.liberty.edu
* rpmfusion-free-updates: mirror.liberty.edu
* rpmfusion-nonfree: mirror.liberty.edu
* rpmfusion-nonfree-updates: mirror.liberty.edu
* updates: mirror.seas.harvard.edu
repo id repo name status
adobe-linux-i386 Adobe Systems Incorporated 18
fedora Fedora 14 - i386 17,779+104
fedora-local Fedora 14 i386 - Networked Repository 17,761
flash flash 2+2
google Google - i386 5
google-chrome google-chrome 3
rpmf-nonfree RPMFusion Non-Free Local Repository 176
rpmfusion-free RPM Fusion for Fedora 14 - Free 364
rpmfusion-free-updates RPM Fusion for Fedora 14 - Free - Updates 432
rpmfusion-nonfree RPM Fusion for Fedora 14 - Nonfree 176
rpmfusion-nonfree-updates RPM Fusion for Fedora 14 - Nonfree - Updates 222
updates Fedora 14 - i386 - Updates 5,036+100
virtualbox Fedora 14 - i386 - VirtualBox 5
repolist: 41,979
So it works. You can do the same for the others.