0) need epel-release

# yum -y update epel-release

1) create a new file /etc/yum.repos.d/city-fan.repo

# vi /etc/yum.repos.d/city-fan.repo

2) 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

3) Check version

# curl -V

ex) curl 7.78.0 (x86_64-redhat-linux-gnu) // 2021-08-14