# Package directories query

**URL:** <https://discourse.julialang.org/t/package-directories-query/123626>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [December 9, 2024, 4:13pm UTC](https://discourse.julialang.org/t/package-directories-query/123626 "2024-12-09T16:13:36Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![world-peace](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Post date:** [December 10, 2024, 4:23pm UTC](https://discourse.julialang.org/t/package-directories-query/123626/21 "2024-12-10T16:23:41Z")

</div>

> [@StefanKarpinski](#):
>
> No, a “Package Directory” is a directory containing package that is put into the load path. In this approach you do not modify the load path.

Ah ok - the reason for the confusion on this point is due to [this documentation page](https://docs.julialang.org/en/v1/manual/code-loading/).

Where it says:

> 1. **A package directory** is a directory containing the source trees of a set of packages as subdirectories, and forms an _implicit environment_. If `X` is a subdirectory of a package directory and `X/src/X.jl` exists, then the package `X` is available in the package directory environment and `X/src/X.jl` is the source file by which it is loaded.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [December 10, 2024, 4:28pm UTC](https://discourse.julialang.org/t/package-directories-query/123626/22 "2024-12-10T16:28:44Z")

</div>

The implicit context there, which is not very clear, is that those are entries in the load path. If they’re not entries in the load path, then it doesn’t matter if you put a bunch of packages in a directory because no one knows to look there.

[Previous page](https://discourse.julialang.org/t/package-directories-query/123626.md?page=1)
