# Lots of files to install a package

**URL:** <https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327>\
**Category:** New to Julia\
**Created:** [June 1, 2018, 7:29am UTC](https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327 "2018-06-01T07:29:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvdkerc](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dvdkerc](https://discourse.julialang.org/u/dvdkerc)\
**Post date:** [June 1, 2018, 7:29am UTC](https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327/1 "2018-06-01T07:29:21Z")

</div>

I installed the ControlSystems package and in order to do so about 300 MB of data was downloaded and 65000 files/directories were created. Can this be reduced to a more manageable size in terms of storage and number of files?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [June 1, 2018, 8:23am UTC](https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327/2 "2018-06-01T08:23:46Z")

</div>

Possibly open an issue for  
[https://github.com/JuliaControl/ControlSystems.jl](https://github.com/JuliaControl/ControlSystems.jl)

---

<div class="post-metadata">

**Author:** ![dvdkerc](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dvdkerc](https://discourse.julialang.org/u/dvdkerc)\
**Post date:** [June 1, 2018, 10:01am UTC](https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327/3 "2018-06-01T10:01:20Z")

</div>

I thought maybe it was some setting in the package manager that could reduce the number of files that are installed. It looks like whole git repositories are copied. I am no expert in this, so apologies if my understanding is lacking.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [June 1, 2018, 10:04am UTC](https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327/4 "2018-06-01T10:04:34Z")

</div>

I don’t think there is such an option in `Pkg.add` etc, but packages could of course implement such functioinality, eg controlled by environment variables. If you think this can be done for a specific package without compromising functionality, just open an issue there.

That said, 300 MB of data is not considered excessive these days in most environments if it is otherwise useful, so saving this may not be worth the programmer’s time.

---

<div class="post-metadata">

**Author:** ![dvdkerc](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dvdkerc](https://discourse.julialang.org/u/dvdkerc)\
**Post date:** [June 1, 2018, 10:08am UTC](https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327/5 "2018-06-01T10:08:57Z")

</div>

OK. Thanks for your reply 🙂

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [June 1, 2018, 10:10am UTC](https://discourse.julialang.org/t/lots-of-files-to-install-a-package/11327/6 "2018-06-01T10:10:45Z")

</div>

> [@dvdkerc](#):
>
> It looks like whole git repositories are copied.

Note that with julias new package manager this will not be the case anymore, since we only download the released snapshot of the package and not the full history. (Yey Pkg3)
