This procedure will take about an hour.
sudo apt remove cmake
sudo apt install libssl-dev
cd ~/ tar -zxvf cmake-3.19.2.tar.gz cd cmake-3.19.2 ./bootstrap make -j 4 sudo make install sudo ldconfig