# Left over temporary files when adding a "jll" file

**URL:** <https://discourse.julialang.org/t/left-over-temporary-files-when-adding-a-jll-file/40287>\
**Category:** General Usage\
**Tags:** package-manager, yggdrasil\
**Created:** [May 27, 2020, 7:58pm UTC](https://discourse.julialang.org/t/left-over-temporary-files-when-adding-a-jll-file/40287 "2020-05-27T19:58:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [May 27, 2020, 7:58pm UTC](https://discourse.julialang.org/t/left-over-temporary-files-when-adding-a-jll-file/40287/1 "2020-05-27T19:58:43Z")

</div>

When adding `Leptonica_jll` with the `Pkg` I’m left with 23 small files in `/tmp'. This is from a clean system when no `~/.julia` directory exists: As an example:

```julia
jl_1l4NBI-download.gz.sha256
jl_5vHlCu-download.gz.sha256
jl_BM48nB-download.gz.sha256
jl_BRorCz-download.gz.sha256
jl_DI4ieL-download.gz.sha256
jl_FbPDkn-download.gz.sha256

```

The files are not deleted when Julia exits. And while it’s not causing any issues, it is a sign that temporary files are not being deleted correctly. I when spelunking though the Pkg source and didn’t see anything obviously creating these files. Is there any way of figuring out where they are coming from?

---

<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:** [May 27, 2020, 8:11pm UTC](https://discourse.julialang.org/t/left-over-temporary-files-when-adding-a-jll-file/40287/2 "2020-05-27T20:11:07Z")

</div>

Open an issue: [https://github.com/JuliaLang/Pkg.jl/issues/new](https://github.com/JuliaLang/Pkg.jl/issues/new)

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [May 27, 2020, 8:34pm UTC](https://discourse.julialang.org/t/left-over-temporary-files-when-adding-a-jll-file/40287/3 "2020-05-27T20:34:16Z")

</div>

just want to add that some Linux distros / version clean up that folder every-time you reboot.

---

<div class="post-metadata">

**Author:** ![staticfloat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/staticfloat/32/34_2.png) [@staticfloat](https://discourse.julialang.org/u/staticfloat)\
**Post date:** [May 27, 2020, 9:03pm UTC](https://discourse.julialang.org/t/left-over-temporary-files-when-adding-a-jll-file/40287/4 "2020-05-27T21:03:15Z")

</div>

Yes, these are an annoyance. I’ve opened a PR to fix this here: [Clean up `jl_XXX-download.gz.sha256` files by staticfloat · Pull Request #1840 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/pull/1840)

---

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [May 27, 2020, 11:52pm UTC](https://discourse.julialang.org/t/left-over-temporary-files-when-adding-a-jll-file/40287/5 "2020-05-27T23:52:02Z")

</div>

Thank you.
