# After install, cmd says 'cmake' is not yet installed and can be installed with apt-get

**URL:** https://discourse.cmake.org/t/after-install-cmd-says-cmake-is-not-yet-installed-and-can-be-installed-with-apt-get/1671
**Category:** Usage
**Tags:** os:linux
**Created:** [August 5, 2020, 4:25pm UTC](https://discourse.cmake.org/t/after-install-cmd-says-cmake-is-not-yet-installed-and-can-be-installed-with-apt-get/1671 "2020-08-05T16:25:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![PedroRTomas](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/82dd89/32.png) [@PedroRTomas](https://discourse.cmake.org/u/PedroRTomas)
#### Post date: [August 5, 2020, 4:25pm UTC](https://discourse.cmake.org/t/after-install-cmd-says-cmake-is-not-yet-installed-and-can-be-installed-with-apt-get/1671/1 "2020-08-05T16:25:02Z")

</div>

Hello,  
I might be doing some confusion, but after:  
sudo ./bootstrap --prefix=/usr/bin && sudo make && sudo make install  
inside of cmake-3.16.8 folder, when I type ‘cmake’ in cmd, why do I get:  
The program ‘cmake’ is currently not installed. You can install it by typing:  
sudo apt install cmake  
?

Note: I’ve checked and the folder ‘/usr/bin’ is listed in PATH.

Any thoughts?  
Thanks in advance!

---

<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: [November 11, 2020, 9:05pm UTC](https://discourse.cmake.org/t/after-install-cmd-says-cmake-is-not-yet-installed-and-can-be-installed-with-apt-get/1671/2 "2020-11-11T21:05:52Z")

</div>

The prefix is where _all_ of CMake goes. You probably have `/usr/bin/bin/cmake` at that point. You should use `--prefix=/usr` (though I’d recommend `/usr/local` to avoid conflicting with any `cmake` package you install in the future).
