Ok. It means that it's not an agent error, but installer itself is not been able to execute via RPM.
Can you make sure your agent version is compatible with the machine where you are installing ?
Link for your reference - https://docs.appdynamics.com/display/PRO41/Supported+Environments+and+Versions
Second thing can you please re-check is regarding Permission. If you have sufficient permission to exeute it.
Regards,
Vaibhav