# Installing user packages with dependencies on non-python libraries

**URL:** <https://www.rubin.community/t/installing-user-packages-with-dependencies-on-non-python-libraries/7831>\
**Category:** Support\
**Tags:** announcements, dp0\
**Created:** [August 4, 2023, 8:42pm UTC](https://www.rubin.community/t/installing-user-packages-with-dependencies-on-non-python-libraries/7831 "2023-08-04T20:42:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leanne](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/leanne/32/622_2.png) [@leanne](https://www.rubin.community/u/leanne)\
**Post date:** [August 4, 2023, 8:42pm UTC](https://www.rubin.community/t/installing-user-packages-with-dependencies-on-non-python-libraries/7831/1 "2023-08-04T20:42:18Z")

</div>

We have been getting a few enquires about how to install user packages on the science platform that have dependencies on non-python libraries. Typically, these non-python libraries must be installed and built separately and the LD\_LIBRARY\_PATH updated. I created a simple tutorial with instructions using the [bagpipes](https://bagpipes.readthedocs.io/en/latest/) Baysian Analysis of Galaxies package as an example. Bagpipes depends on [PyMultiNest](https://github.com/JohannesBuchner/PyMultiNest), a Python interface to the [MultiNest](https://github.com/JohannesBuchner/MultiNest) package, which is written in C++.

Tutorial notebook [DP02\_11\_Working\_with\_user\_packages.ipynb](https://github.com/rubin-dp0/tutorial-notebooks/blob/main/DP02_11_Working_with_user_packages.ipynb) runs through the steps to user install the bagpipes package and build its dependencies on the RSP so that it can be used from both the Python command line shell and inside a notebook.

Feedback and questions welcome!
