# Pkg.add("Gtk") / Unsatisfiable requirement

**URL:** <https://discourse.julialang.org/t/pkg-add-gtk-unsatisfiable-requirement/32394>\
**Category:** General Usage\
**Created:** [December 17, 2019, 5:31pm UTC](https://discourse.julialang.org/t/pkg-add-gtk-unsatisfiable-requirement/32394 "2019-12-17T17:31:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qiyamah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qiyamah/32/2660_2.png) [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Post date:** [December 17, 2019, 5:31pm UTC](https://discourse.julialang.org/t/pkg-add-gtk-unsatisfiable-requirement/32394/1 "2019-12-17T17:31:22Z")

</div>

import Pkg  
Pkg.add(“Gtk”)  
results in…

```julia
ERROR: Unsatisfiable requirements detected for package Homebrew [d9be37ee]:
 Homebrew [d9be37ee] log:
 ├─possible versions are: [0.6.4, 0.6.6, 0.7.0-0.7.1] or uninstalled
 ├─restricted by compatibility requirements with BinDeps [9e28174c] to versions: uninstalled
 │ └─BinDeps [9e28174c] log:
 │ ├─possible versions are: [0.7.0, 0.8.9-0.8.10, 1.0.0] or uninstalled
 │ └─restricted to versions 1.0.0 by an explicit requirement, leaving only versions 1.0.0
 └─restricted by compatibility requirements with Gtk [4c0ca9eb] to versions: [0.6.4, 0.6.6, 0.7.0-0.7.1] — no versions left
   └─Gtk [4c0ca9eb] log:
     ├─possible versions are: [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0] or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0]
     ├─restricted by julia compatibility requirements to versions: [0.16.0-0.16.5, 0.17.0, 0.18.0] or uninstalled, leaving only versions: [0.16.0-0.16.5, 0.17.0, 0.18.0]
     └─restricted by compatibility requirements with BinDeps [9e28174c] to versions: [0.17.0, 0.18.0, 1.0.0, 1.1.0] or uninstalled, leaving only versions: [0.17.0, 0.18.0]
       └─BinDeps [9e28174c] log: see above

```

is there a way to get Gtk?

Thanks

---

<div class="post-metadata">

**Author:** ![Kacper\_Kuryllo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kacper_kuryllo/32/11619_2.png) [@Kacper\_Kuryllo](https://discourse.julialang.org/u/Kacper_Kuryllo)\
**Post date:** [December 17, 2019, 6:07pm UTC](https://discourse.julialang.org/t/pkg-add-gtk-unsatisfiable-requirement/32394/2 "2019-12-17T18:07:12Z")

</div>

You’re on mac? So it’s saying that version 1.0.0 is required but homebrew doesn’t have that version.  
Try typing `brew update` into a system terminal. The definitions may just be stale.

---

<div class="post-metadata">

**Author:** ![Qiyamah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qiyamah/32/2660_2.png) [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Post date:** [December 17, 2019, 6:37pm UTC](https://discourse.julialang.org/t/pkg-add-gtk-unsatisfiable-requirement/32394/3 "2019-12-17T18:37:54Z")

</div>

```nohighlight
┏ ✔     /usr/bin   2.95  10.11G   10:36:05  
┗ brew update
Already up-to-date.

```

The same thing persists.

```nohighlight
julia> Pkg.add("Gtk")
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Homebrew [d9be37ee]:
 Homebrew [d9be37ee] log:
 ├─possible versions are: [0.6.4, 0.6.6, 0.7.0-0.7.1] or uninstalled
 ├─restricted by compatibility requirements with BinDeps [9e28174c] to versions: uninstalled
 │ └─BinDeps [9e28174c] log:
 │ ├─possible versions are: [0.7.0, 0.8.9-0.8.10, 1.0.0] or uninstalled
 │ └─restricted to versions 1.0.0 by an explicit requirement, leaving only versions 1.0.0
 └─restricted by compatibility requirements with Gtk [4c0ca9eb] to versions: [0.6.4, 0.6.6, 0.7.0-0.7.1] — no versions left
   └─Gtk [4c0ca9eb] log:
     ├─possible versions are: [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0] or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0]
     ├─restricted by julia compatibility requirements to versions: [0.16.0-0.16.5, 0.17.0, 0.18.0] or uninstalled, leaving only versions: [0.16.0-0.16.5, 0.17.0, 0.18.0]
     └─restricted by compatibility requirements with BinDeps [9e28174c] to versions: [0.17.0, 0.18.0, 1.0.0, 1.1.0] or uninstalled, leaving only versions: [0.17.0, 0.18.0]
       └─BinDeps [9e28174c] log: see above
Stacktrace:

```

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [December 17, 2019, 9:18pm UTC](https://discourse.julialang.org/t/pkg-add-gtk-unsatisfiable-requirement/32394/4 "2019-12-17T21:18:42Z")

</div>

If you’re running Julia 1.3 or higher then Homebrew shouldn’t be a dependency anymore.
