missing bootstrap in linux cmake-3.21.4-linux-x86_64.tar.gz -file

Today I downloaded the cmake source-file mentioned in the subject (size 44684259) and wanted to install, but this failed. According to the instructions (on https://vitux.com/how-to-install-cmake-on-ubuntu/ :
"Finally, run the following commands to compile and install CMake:

./bootstrap"
However, the bootstrap-file is missing, so I cannot install this file. Could the tar-file be corrected and the bootstrap-script be added to cmake? Thanks

The cmake-3.21.4-linux-x86_64.tar.gz is a binary tarball, not the source tarball, so there’s no need to bootstrap it; it is already compiled.

It is indeed. I ran configure, and subsequently make Install, without any problem. Thanks for pointing me to the evident.

I have a Question about the same tarball but a different version https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.tar.gz
Ben mentioned it is already compiled, do I need to run make/make isntall on it?

If you want to build from source, use tarballs named with no platform or architecture, like cmake-3.22.2.tar.gz (or some newer version).

If you want to use a precompiled binary like cmake-3.22.2-linux-x86_64.tar.gz, one can simply extract the tarball. There is no “install” step. One may run the binaries straight from their extracted location like cmake-3.22.2-linux-x86_64/bin. If you want to extract to /usr/local instead, a command like

$ sudo tar xvzf cmake-3.22.2-linux-x86_64.tar.gz --strip-components=1 -C /usr/local

should do it.

1 Like

It worked, Thanks Brad