Which instance are you using? Sandbox or AWS practice instance?
Install Ranger is part of the exam requirement. I had tried multiple times before I did the exam. I was able to install in both Sandbox and AWS instances.
You can try to download the latest Sandbox and give a go.