This is an old question, but it is still one the first results in google search, so I’d like post the solution that solved my problem.
-
Create a new file
/etc/yum.repos.d/city-fan.repo
-
Paste the following contents:
[CityFan] name=City Fan Repo baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/ enabled=1 gpgcheck=0
-
Type this into the terminal:
yum clean all yum install curl
-
And it’s done!
Observe that for other RHEL/CentOS versions, all you have to do is specify the appropriate CityFan URL.