# Quiet Pkg Installation/Precompilation

**URL:** <https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [January 22, 2021, 6:46pm UTC](https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796 "2021-01-22T18:46:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ian\_Slagle](https://avatars.discourse-cdn.com/v4/letter/i/b5a626/32.png) [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Post date:** [January 22, 2021, 6:46pm UTC](https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796/1 "2021-01-22T18:46:50Z")

</div>

Is there a way to quietly install packages through Pkg? Normally, this is not an issue on my own computer, but the output that I get setting up an environment in Google Colab is a lot, so much that not all of it can be stored in the notebook, and is the same every time I restart the notebook.

---

<div class="post-metadata">

**Author:** ![ianshmean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ianshmean/32/216042_2.png) [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Post date:** [January 22, 2021, 7:28pm UTC](https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796/2 "2021-01-22T19:28:17Z")

</div>

You should be able to set `io=devnull` in the main Pkg functions to suppress output

```julia
julia> import Pkg

julia> Pkg.add("Foo”, io=devnull)

```

---

<div class="post-metadata">

**Author:** ![Ian\_Slagle](https://avatars.discourse-cdn.com/v4/letter/i/b5a626/32.png) [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Post date:** [January 22, 2021, 7:39pm UTC](https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796/3 "2021-01-22T19:39:46Z")

</div>

This works for hiding most of the output, but I’m still seeing the downloading of artifacts

```julia
 Downloading artifact: Libglvnd
  Downloaded artifact: Libglvnd
 Downloading artifact: LAME
  Downloaded artifact: LAME
 Downloading artifact: Xorg_libxkbfile
  Downloaded artifact: Xorg_libxkbfile

```

Plots on a fresh Julia installation has upwards of 50 of these

---

<div class="post-metadata">

**Author:** ![ianshmean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ianshmean/32/216042_2.png) [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Post date:** [January 22, 2021, 7:42pm UTC](https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796/4 "2021-01-22T19:42:22Z")

</div>

Any printing should be a bug, so an issue to Pkg.jl would be worth doing

---

<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:** [January 22, 2021, 11:37pm UTC](https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796/5 "2021-01-22T23:37:29Z")

</div>

[https://github.com/JuliaLang/Pkg.jl/issues/2328](https://github.com/JuliaLang/Pkg.jl/issues/2328)

---

<div class="post-metadata">

**Author:** ![Dsantra92](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dsantra92/32/21432_2.png) [@Dsantra92](https://discourse.julialang.org/u/Dsantra92)\
**Post date:** [October 6, 2021, 4:18pm UTC](https://discourse.julialang.org/t/quiet-pkg-installation-precompilation/53796/6 "2021-10-06T16:18:24Z")

</div>

Is there a way to output only errors( if they appear) during package installation instead of just dumping everything to devenull?
