tar zxvf cmake-3.17.3.tar.gz
cd cmake-3.17.3
./configure --prefix=/path/to/CMAKE
make
make install
export PATH=/path/to/CMAKE/bin:$PATH