# Installing root without python-devel

**URL:** <https://root-forum.cern.ch/t/installing-root-without-python-devel/33406>\
**Category:** Newbie\
**Tags:** python\
**Created:** [April 1, 2019, 3:02pm UTC](https://root-forum.cern.ch/t/installing-root-without-python-devel/33406 "2019-04-01T15:02:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![afylot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/afylot/32/18295_2.png) [@afylot](https://root-forum.cern.ch/u/afylot)\
**Post date:** [April 1, 2019, 3:02pm UTC](https://root-forum.cern.ch/t/installing-root-without-python-devel/33406/1 "2019-04-01T15:02:27Z")

</div>

I am installing rootv6.16 on CentOS-7, I do not have root privileges and I would avoid to install many new libraries. I am using cmake. I get ‘Could NOT find PythonLibs’.

I read that python-devel is optional, but I cannot find which switch I should turn on/off.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [April 1, 2019, 3:37pm UTC](https://root-forum.cern.ch/t/installing-root-without-python-devel/33406/2 "2019-04-01T15:37:44Z")

</div>

I assume, in this case cmake will simply skip the building of the “python” feature (you don’t need to do anything about it).

Note: [The ROOT team provides ready-to-use binary distributions for some systems, including “CentOS Cern 7 gcc4.8”, which you just need to download and unpack.](https://root.cern.ch/downloading-root)

---

<div class="post-metadata">

**Author:** ![afylot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/afylot/32/18295_2.png) [@afylot](https://root-forum.cern.ch/u/afylot)\
**Post date:** [April 1, 2019, 3:42pm UTC](https://root-forum.cern.ch/t/installing-root-without-python-devel/33406/3 "2019-04-01T15:42:17Z")

</div>

cmake does raise an error:

CMake Error at /path/to/cmake/3.11.4/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):  
Could NOT find PythonLibs (missing: PYTHON\_LIBRARIES PYTHON\_INCLUDE\_DIRS)

EDIT:

I do not have gcc 4.8 and I would need to compile it

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [April 1, 2019, 3:45pm UTC](https://root-forum.cern.ch/t/installing-root-without-python-devel/33406/4 "2019-04-01T15:45:25Z")

</div>

Well, gcc 4.8 is the default, system provided, compiler on CentOS 7 (try `gcc --version`).

---

<div class="post-metadata">

**Author:** ![afylot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/afylot/32/18295_2.png) [@afylot](https://root-forum.cern.ch/u/afylot)\
**Post date:** [April 1, 2019, 3:56pm UTC](https://root-forum.cern.ch/t/installing-root-without-python-devel/33406/5 "2019-04-01T15:56:37Z")

</div>

right, I hadn’t noticed about gcc outside of module environment, It works, thanks
