# Installing CASToR with CMAKE

**URL:** <https://castor-project.discourse.group/t/installing-castor-with-cmake/1106>\
**Category:** General Discussions\
**Created:** [July 2, 2025, 7:26am UTC](https://castor-project.discourse.group/t/installing-castor-with-cmake/1106 "2025-07-02T07:26:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![s\_mousavi](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@s\_mousavi](https://castor-project.discourse.group/u/s_mousavi)\
**Post date:** [July 2, 2025, 7:26am UTC](https://castor-project.discourse.group/t/installing-castor-with-cmake/1106/1 "2025-07-02T07:26:54Z")

</div>

Hello,

I just came across that when you install CASToR with CMake, all the binaries are built in the build folder. However, when you install it with the provided Makefile, the binaries are in the bin folder.

In the documentation, sections 3.4.1 and 3.4.2, Installing CASToR with the provide Makefile (Item 4) and CMake (Item 6), to add CASToR to the environment, both methods say add

`export PATH=$PATH:/path/to/CASToR/bin`

to bash or zst. Maybe it needs a remark or note.

Best,  
Seyyed

---

<div class="post-metadata">

**Author:** ![tmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/castor-project.discourse.group/tmerlin/32/216_2.png) [@tmerlin](https://castor-project.discourse.group/u/tmerlin)\
**Post date:** [July 21, 2025, 8:00pm UTC](https://castor-project.discourse.group/t/installing-castor-with-cmake/1106/2 "2025-07-21T20:00:37Z")

</div>

Hi Seyyed,  
Thank you for pointing this out.  
It depends on how CMake is configured really, I believe most CMake choose to directly move the executables to the installation path, thus not requiring to set up the path. But I agree the doc needs a correction.

Thanks!  
Thibaut
