Download the fedora-release*.rpm file that corresponds to the Fedora version you want to install ​http://rpm.pbone.net and install it. Then, make sure you have all the Fedora GPG keys properly installed.