バイナリをダウンロードして $HOME/.local/
にインストールする
# https://cmake.org/download/
curl -OL https://github.com/Kitware/CMake/releases/download/v3.23.0/cmake-3.23.0-linux-x86_64.tar.gz
tar -zxvf cmake-3.23.0-linux-x86_64.tar.gz
mkdir -p $HOME/.local/bin
mkdir -p $HOME/.local/man
mkdir -p $HOME/.local/share
mkdir -p $HOME/.local/doc
cd cmake-3.23.0-linux-x86_64
cp -R ./bin/* $HOME/.local/bin/
cp -R ./doc/* $HOME/.local/doc/
cp -R ./man/* $HOME/.local/man/
cp -R ./share/* $HOME/.local/share/