# Questions about ROOT6 packaging

**URL:** <https://root-forum.cern.ch/t/questions-about-root6-packaging/27219>\
**Category:** ROOT\
**Created:** [December 8, 2017, 8:49am UTC](https://root-forum.cern.ch/t/questions-about-root6-packaging/27219 "2017-12-08T08:49:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [December 9, 2017, 9:02am UTC](https://root-forum.cern.ch/t/questions-about-root6-packaging/27219/4 "2017-12-09T09:02:10Z")

</div>

> [@vp1981](#):
>
> Is it possible to regenerate
> 
> \*.pcm
> 
> files (they are located in
> 
> /usr/lib/root
> 
> )?

At the moment, there are still some hard paths in the build system, so it’s difficult to make ROOT work if you set configuration directories individually, like you are doing in your build script. I recommend that for the time being, you install ROOT into `/opt/root` and add `/opt/root/bin` to `$PATH` and `/opt/root/lib` to `$PYTHONPATH`. Please make sure to configure ROOT with `-Drpath=ON` and `-Dsoversion=ON`, and use the same compiler that is used for the rest of the system to avoid ABI incompatibilities.

In the future, we will try to make the installed files go automatically into the right places according to their purpose instead of many of them going to `/etc/` as happens now. Please let us know if you have any other questions. It will be nice if we can make ROOT available to at least the major distributions in the next coming months.

---

_[View the full topic](https://root-forum.cern.ch/t/questions-about-root6-packaging/27219)._
