# Julia 1.10.x on Raspberry Pi 400

**URL:** <https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400>\
**Category:** General Usage\
**Created:** [June 29, 2024, 8:54pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400 "2024-06-29T20:54:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [June 29, 2024, 8:54pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/1 "2024-06-29T20:54:42Z")

</div>

I just installed the 1.6.7 julia on my Raspberry Pi 400. It runs but the  
TTFX is excruciating. I would like to install 1.10.x+ but there appear  
to be no binaries from the [julialang.org](http://julialang.org) site.

Has anyone successfully built the latest version of julia for the RPi 4  
hardware? I’m in the process of determining whether to go with a  
native build or to try one with cross compiling.

Any suggestions are welcome!

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [June 29, 2024, 8:58pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/2 "2024-06-29T20:58:46Z")

</div>

Seems to exist under the downloads tab…

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/b/3b2ab93b7481de4e2ab0670769442b5db0a4b657.png)  
[https://julialang-s3.julialang.org/bin/linux/aarch64/1.10/julia-1.10.4-linux-aarch64.tar.gz](https://julialang-s3.julialang.org/bin/linux/aarch64/1.10/julia-1.10.4-linux-aarch64.tar.gz)

That said, you might want to install via Juliaup which will make future updates much easier.

---

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [June 29, 2024, 9:10pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/3 "2024-06-29T21:10:09Z")

</div>

The Raspberry Pi 400 is arm7 with hardware float and not arm8  
which is the AArch64 version. I did try downloading and then discovered  
the incompatibility. Thanks for the thought.

---

<div class="post-metadata">

**Author:** ![contradict](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@contradict](https://discourse.julialang.org/u/contradict)\
**Post date:** [June 30, 2024, 12:21am UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/4 "2024-06-30T00:21:06Z")

</div>

The Raspberry Pi 400 hardware is [ARMv8](https://www.raspberrypi.com/products/raspberry-pi-400/specifications/). Perhaps you are running a 32bit version of the OS?

Check the output of `uname -m`, if you are running the armv7 version, try installing the 64 bit version of [Raspbian](https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit)

---

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [June 30, 2024, 1:08am UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/5 "2024-06-30T01:08:52Z")

</div>

Thanks for the tip!

It never in a million years would have occurred to me that the default  
OS for 64-bit hardware would be 32-bit. I’ll give this a try as soon as  
I can burn a new SD card.

I guess there is a reason that the last five letters on default are f-a-u-l-t.  
🙂

---

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [June 30, 2024, 3:13pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/6 "2024-06-30T15:13:16Z")

</div>

A final follow up:

I was successful installing the latest version of the Raspberry Pi OS desktop,  
64-bit version and was able to install julia-1.10.4.

Unfortunately, trying to install Makie triggered an LLVM crash which I am not  
able to debug at this time. Seems likely that the problem was running out of  
memory as the RC1 install had a 2000MB swap file size set.

I then installed the [Upcoming release: v1.11.0-rc1 (June 25, 2024)](https://julialang.org/downloads/#upcoming_release) and was  
successful building Makie and CairoMakie.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [June 30, 2024, 7:58pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/7 "2024-06-30T19:58:15Z")

</div>

> [@devel-chm](#):
>
> Unfortunately, trying to install Makie triggered an LLVM crash which I am not  
> able to debug at this time. Seems likely that the problem was running out of  
> memory

What was the error message _precisely_? Was it by any chance

```julia
JIT session error: Cannot allocate memory

```

?

---

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [July 1, 2024, 4:16pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/8 "2024-07-01T16:16:59Z")

</div>

Sorry, I wiped that OS install on the Raspberry Pi and cannot  
reproduce the run to get the precise error message.

If I get another LLVM error, I’ll try to copy and paste the text  
so I can provide the exact output message.

---

<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:** [July 1, 2024, 5:49pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400/9 "2024-07-01T17:49:55Z")

</div>

I have used the Raspberry PI always with the Raspberry PI OS. I have thought of using Ubuntu but never have. This is an option however.
