Can I upgrade Julia that was installed with Apt?

Hi,

I’m running Julia 0.6.0 arm-linux-gnueabihf on my Raspberry Pi Zero. I installed it using apt-get install julia on Raspbian GNU/Linux 9 (stretch). I tried to build the latest Julia from source, but I wasn’t successful. So, can I somehow just upgrade the version I have installed?

Thanks,

Frank

The apt versions of Julia are not officially maintained and can be quite out of date. It’s recommended to just download the Linux binaries (for ARM in your case) from Download Julia . You can just uninstall the apt version and install the linux binaries using the instructions here: https://julialang.org/downloads/platform.html#generic-linux-binaries

1 Like

Will the Arm7 version work on a Raspberry Pi Zero? It’s an Arm6 architecture.

Ah, good question. I’m afraid I don’t know.

Sorry. While we do try to keep Raspbian up to date, the release process still involves a lot of manual steps.

If you want to try it yourself, some useful resources are:
https://github.com/JuliaLang/julia/blob/master/README.arm.md#32-bit-armv6-armv7 and https://github.com/JuliaBerry/julia-raspbian

Thanks. That is what I was initially trying to follow. I’m not sure what dependencies I might of been missing, but it failed (and so very slow). So, I just took the easy route for now (hoping for a path to upgrade from there).

Yeah, you don’t really want to build on a Pi Zero, it’s slow enough on a Pi 3, and even then you need a heatsink.

I’m trying now to make a new build, will let you know how it goes.

Bad news I’m afraid. Compilation seems to be overtaxing my cheap power supply, so this will have to wait until I can get a new one.

Thanks, Simon!

OK. Thanks, Anyway.