# missing bootstrap in linux cmake-3.21.4-linux-x86\_64.tar.gz -file

**URL:** https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799
**Category:** Development
**Created:** [January 8, 2022, 10:38am UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799 "2022-01-08T10:38:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jul1gmake](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/j/7ba0ec/32.png) [@jul1gmake](https://discourse.cmake.org/u/jul1gmake)
#### Post date: [January 8, 2022, 10:38am UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799/1 "2022-01-08T10:38:08Z")

</div>

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/](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

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [January 8, 2022, 11:54am UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799/2 "2022-01-08T11:54:32Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![jul1gmake](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/j/7ba0ec/32.png) [@jul1gmake](https://discourse.cmake.org/u/jul1gmake)
#### Post date: [January 8, 2022, 6:04pm UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799/3 "2022-01-08T18:04:08Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Mdarji](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@Mdarji](https://discourse.cmake.org/u/Mdarji)
#### Post date: [January 19, 2024, 3:01pm UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799/4 "2024-01-19T15:01:27Z")

</div>

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](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?

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [January 19, 2024, 3:21pm UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799/5 "2024-01-19T15:21:44Z")

</div>

If you want to build from source, use tarballs named with no platform or architecture, like [cmake-3.22.2.tar.gz](https://github.com/Kitware/CMake/releases/download/v3.22.2/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

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

```

should do it.

---

<div class="post-metadata">

### Author: ![Mdarji](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@Mdarji](https://discourse.cmake.org/u/Mdarji)
#### Post date: [January 19, 2024, 7:26pm UTC](https://discourse.cmake.org/t/missing-bootstrap-in-linux-cmake-3-21-4-linux-x86-64-tar-gz-file/4799/6 "2024-01-19T19:26:13Z")

</div>

It worked, Thanks Brad
