I have downloaded the cmake-3.11.3-Linux-x86_64.sh
file. Then I executed it and it created a folder that has a bin
file there is cmake
Rather than installing CMake mannually,
Please let apt take care of it.
Just rollback whatever changes you've done.
Simply type sudo apt install cmake
on your terminal.
and you're ready to use CMake since apt takes care of all dependencies installations and environment variable settings.
I hope, this will help.