Are you trying to install something from the 7.x family? The process is similar but want to make sure we are talking about the same version of the documentation.
RedHat for 7.x would be here:
Where as current would be here:
What command are you running when you get the error. If there is any more information being returned after the command fails could that be included as well?