# Compiling Julia for Raspbian

**URL:** <https://discourse.julialang.org/t/compiling-julia-for-raspbian/50341>\
**Category:** New to Julia\
**Created:** [November 17, 2020, 11:07pm UTC](https://discourse.julialang.org/t/compiling-julia-for-raspbian/50341 "2020-11-17T23:07:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [November 17, 2020, 11:07pm UTC](https://discourse.julialang.org/t/compiling-julia-for-raspbian/50341/1 "2020-11-17T23:07:27Z")

</div>

I installed julia using

```julia
sudo apt install julia

```

realising this was version 1.0.3 and not finding a binary for 1.5.3 I followed the steps for compiling Julia at [JuliaBerry: Compiling Julia](https://juliaberry.github.io/compile.html).

This started fine but then received an error

/home/pi/Applications/julia/src/gc.c:999: undefined reference to `\_\_atomic\_load\_8’

along with other error messages all related to `\_\_atomic\_load\_8’. I am wondering what I should do next?

---

<div class="post-metadata">

**Author:** ![notinaboat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/notinaboat/32/19302_2.png) [@notinaboat](https://discourse.julialang.org/u/notinaboat)\
**Post date:** [November 18, 2020, 11:30am UTC](https://discourse.julialang.org/t/compiling-julia-for-raspbian/50341/2 "2020-11-18T11:30:03Z")

</div>

[https://github.com/Julia-Embedded/jlcross](https://github.com/Julia-Embedded/jlcross)

There are instructions here for using Docker to get an up to date Julia binary for Raspbian: [https://github.com/Julia-Embedded/jlcross#get-binary-from-container](https://github.com/Julia-Embedded/jlcross#get-binary-from-container)

---

<div class="post-metadata">

**Author:** ![jmkuhn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jmkuhn/32/2090_2.png) [@jmkuhn](https://discourse.julialang.org/u/jmkuhn)\
**Post date:** [November 23, 2020, 7:23pm UTC](https://discourse.julialang.org/t/compiling-julia-for-raspbian/50341/3 "2020-11-23T19:23:12Z")

</div>

See [Julia 1.5.1 for Raspian 32 bit (Rasperry Pi)](https://discourse.julialang.org/t/julia-1-5-1-for-raspian-32-bit-rasperry-pi/46969)
