Friday, November 11, 2011

make yum repository from all files you have downloaded

this is just the example to show how to create repo for the Downloads directory,

1. create a file in /etc/yum.repos.d/ with the name libre.repo  with the following content


[libre]
name=libre
baseurl=file:///home/dara/Downloads
enabled=1
gpgcheck=1






2. then execute the following command,

#createrepo /home/dara/Downloads/

3. wait until it complete its job, after that you get the repository from /hom/dara/Downloads/



----------------------------------------------------------------------------------

No comments:

Post a Comment