# GR doesn't work in Julia

**URL:** <https://discourse.julialang.org/t/gr-doesnt-work-in-julia/88022>\
**Category:** General Usage\
**Created:** [September 30, 2022, 4:27am UTC](https://discourse.julialang.org/t/gr-doesnt-work-in-julia/88022 "2022-09-30T04:27:17Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Post date:** [September 30, 2022, 9:58am UTC](https://discourse.julialang.org/t/gr-doesnt-work-in-julia/88022/10 "2022-09-30T09:58:15Z")

</div>

Then this should work:

```julia
(@v1.8) pkg> build GR
julia> using Plots
julia> x = 1:10; y = rand(10);
julia> plot(x, y, title = "Two Lines", label = ["Line 1" "Line 2"], lw = 3)

```

If not, search for `libGR` in `~/.julia/artifacts`, delete the corresponding `~/.julia/artifacts/<sha1>`, then run

```julia
(@v1.8) pkg> instantiate
  Downloaded artifact: GR

```

it should download the GR artifact again, you can then retry.

Did you download the official binaries at [Download Julia](https://julialang.org/downloads/) to setup julia ?

---

_[View the full topic](https://discourse.julialang.org/t/gr-doesnt-work-in-julia/88022)._
