Run sudo apt install ccache -y echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc source ~/.bashrc If there is a error containing something like ccache: error: Failed to create temporary file for /home/alex/.ccache/tmp/tmp.cpp_stderr: Permission denied try sudo rm -rf ~/.ccache