Cmake not found

I am a newbie in pytorch and as I was installing it in an amd64 fedora 25, I got this error:
[root@aries pytorch]# python install
running install
running build_deps
torch/lib/ line 147: cmake: command not found

What can I do to solve this?
I have cloned from github and at the installer folder I have issued the command python install.
By the way I am tryint to run it without CUDA.

Did you install cmake? It is one of the dependencies as listed here

Thank you, Excuse me for my silly question.
I guessed It was already installed. I am doing it now. It is working,
Thank you SimonW.