Adding Fedora Repository into Centos Repositories List
1. Create a repo file in the /etc/yum.repos.d.
# vi /etc/yum.repos.d/fedora.repo
But default we should put the line I commented out but because the $releasever is pointing to 5 as i am using CentOS 5, I replace it with six, which is I think the equivalent version of Fedora to CentOS 5.
2. Create cache for yum. I like to do this because it will make yum operation become faster. I even put it into /etc/cron.daily to make it update everyday.
# yum makecache