# Packages: build, precompile and add

**URL:** <https://discourse.julialang.org/t/packages-build-precompile-and-add/39281>\
**Category:** General Usage\
**Created:** [May 11, 2020, 12:50pm UTC](https://discourse.julialang.org/t/packages-build-precompile-and-add/39281 "2020-05-11T12:50:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![v-i-s-h](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/v-i-s-h/32/46152_2.png) [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Post date:** [May 11, 2020, 12:50pm UTC](https://discourse.julialang.org/t/packages-build-precompile-and-add/39281/1 "2020-05-11T12:50:29Z")

</div>

When I install some packages, upon first use it shows messages about building and/or precompile. Why these build/precompile tasks are not completed during the install phase itself? Now I do a manual build and precompile after adding the package. Is there any way to combine all these to one?

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [May 11, 2020, 1:05pm UTC](https://discourse.julialang.org/t/packages-build-precompile-and-add/39281/2 "2020-05-11T13:05:09Z")

</div>

> [@v-i-s-h](#):
>
> Why these build/precompile tasks are not completed during the install phase itself?

I kinda wondered abt the same thing

---

<div class="post-metadata">

**Author:** ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Post date:** [May 13, 2020, 4:34am UTC](https://discourse.julialang.org/t/packages-build-precompile-and-add/39281/3 "2020-05-13T04:34:17Z")

</div>

IIRC, it’s a trade-off between fast installation vs fast first time usage. But then the whole issue is moot because you can invoke the `precompile` yourself after installing something anyways. So with the current setup you are actually in control.

---

<div class="post-metadata">

**Author:** ![v-i-s-h](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/v-i-s-h/32/46152_2.png) [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Post date:** [May 13, 2020, 4:56am UTC](https://discourse.julialang.org/t/packages-build-precompile-and-add/39281/4 "2020-05-13T04:56:04Z")

</div>

So, as far as I understand, there is no side effect in combining all these three processes so that user can have a better experience.  
It may be then worth having a command like `install <= add + build + precompile`.
