Can I upgrade Julia that was installed with Apt?


#1

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


#2

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 https://julialang.org/downloads/ . 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


#3

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


#4

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


#5

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


#6

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).


#7

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.


#8

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.


#9

Thanks, Simon!


#10

OK. Thanks, Anyway.