# Need RaspberryPi - ARM Julia package testers

**URL:** https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774
**Category:** Community
**Created:** [March 20, 2017, 2:31pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774 "2017-03-20T14:31:57Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 20, 2017, 2:31pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/1 "2017-03-20T14:31:57Z")

</div>

Some of us have been working on getting Julia into Raspbian with the amazing folks over at Rapberry Pi. The main focus has been to use as many system libs as possible, a system and newer LLVM, and a few other small things.

Here’s a package that has been put together, which should be ready to go, and it would be great if people can try it out. I have been using it over the weekend and it feels solid. Of course, there may be Julia arm bugs that you may find, and it may be good to know.

[https://jcfiles.blob.core.windows.net/tmpfiles/julia\_0.5.1-2\_armhf.deb](https://jcfiles.blob.core.windows.net/tmpfiles/julia_0.5.1-2_armhf.deb)

This should work on all the Pis, but Pi3 is recommended. Also, note that it will use ATLAS and not OpenBLAS, since the one that is currently in Raspbian is buggy. We are woking on getting it updated.

Jupyter notebooks should work too, but you have to pip install Jupyter, set the JUPYTER environment variable and then Pkg.build(“IJulia”). Plotting works as well, but compilation times are a bit slow.

There are Pi specific packages in the JuliaBerry github org should you want to try those out. Those should be registered shortly.

---

<div class="post-metadata">

### Author: ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)
#### Post date: [March 21, 2017, 6:25am UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/2 "2017-03-21T06:25:54Z")

</div>

Viral,

Thanks for this package. There are a lot of unmet dependencies when I try to install it on my Pi (B). Are there installation options that will install the dependencies as well? `apt-get install -f` simply removes the julia package after I install with `dpkg`.

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [March 21, 2017, 8:16am UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/3 "2017-03-21T08:16:10Z")

</div>

Is the Raspberry Pi fast enough for Julia to be usable in practice (eg with nontrivial packages like `Plots.jl`)? I played around with a Pi 3 a while ago, but found that even for light web browsing there is significant lag.

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 21, 2017, 5:17pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/4 "2017-03-21T17:17:56Z")

</div>

Install all these packages:

libllvm3.9, libatlas3-base, libfftw3-dev, libgmp3-dev, libmpfr4,  
libarpack2, libopenspecfun0, libssh2-1, libcurl4-openssl-dev,  
libsuitesparse-dev

The build scripts are here:  
[https://github.com/JuliaBerry/julia-raspbian](https://github.com/JuliaBerry/julia-raspbian)

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 21, 2017, 5:19pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/5 "2017-03-21T17:19:16Z")

</div>

My computer mysteriously died on me last week, and while the Apple store is  
taking its own sweet time, I am using a Pi3 as my primary computer. It  
actually works reasonably well. Can’t do too many things at the same time,  
but perhaps I shouldn’t be doing that anyways. 🙂

Precompiling is where you feel the slowness with Julia, especially with  
stuff like Gadfly, but once precompiled, it is reasonably snappy.

---

<div class="post-metadata">

### Author: ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)
#### Post date: [March 21, 2017, 5:26pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/6 "2017-03-21T17:26:40Z")

</div>

Not working on my pi:

```julia
seth@violet ~ $ sudo apt-get install llvm-3.9-dev libopenblas-dev libfftw3-dev libgmp3-dev libmpfr-dev libarpack2-dev libopenspecfun-dev libssh2-1-dev libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libopenblas-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package llvm-3.9-dev
E: Couldn't find any package by regex 'llvm-3.9-dev'
E: Package 'libopenblas-dev' has no installation candidate
E: Unable to locate package libopenspecfun-dev

```

Also created a PR for the README.md.

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 21, 2017, 5:32pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/7 "2017-03-21T17:32:01Z")

</div>

May be you need the latest Raspbian? Or update something?

---

<div class="post-metadata">

### Author: ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)
#### Post date: [March 21, 2017, 5:38pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/8 "2017-03-21T17:38:13Z")

</div>

I’m pretty sure I’m on the latest version:

```julia
seth@violet ~ $ cat /proc/version
Linux version 4.9.16+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #978 Sat Mar 18 13:39:05 GMT 2017
seth@violet ~ $ cat /etc/issue
Raspbian GNU/Linux 7 \n \l

```

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 21, 2017, 5:47pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/9 "2017-03-21T17:47:20Z")

</div>

I have:

pi@raspberrypi:~ $ cat /etc/issue  
Raspbian GNU/Linux 8 \n \l

pi@raspberrypi:~ $ cat /proc/version  
Linux version 4.4.50-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3  
(crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #970 SMP Mon Feb 20  
19:18:29 GMT 2017

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 21, 2017, 5:50pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/10 "2017-03-21T17:50:18Z")

</div>

Looks like you need an apt-get dist-upgrade.

---

<div class="post-metadata">

### Author: ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)
#### Post date: [March 21, 2017, 5:52pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/11 "2017-03-21T17:52:23Z")

</div>

```julia
seth@violet ~ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

```

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 21, 2017, 5:56pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/12 "2017-03-21T17:56:08Z")

</div>

Many ubuntus have a do-release-upgrade or some such thing. Or perhaps have  
to install from the raspbian image?

---

<div class="post-metadata">

### Author: ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)
#### Post date: [March 21, 2017, 5:56pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/13 "2017-03-21T17:56:51Z")

</div>

Yup, got it. Need to get to Jessie. On it now. Thanks.

---

<div class="post-metadata">

### Author: ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)
#### Post date: [March 21, 2017, 8:39pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/14 "2017-03-21T20:39:57Z")

</div>

Awesome, worked out of the box on my Pi3, running `Raspbian GNU/Linux 8 \n \l` kernel `4.4.38-v7+`. QML.jl seems to work at least partially out of the box, the test segfaults but this seems to work and run reasonably smoothly:

```julia
Pkg.add("QML")
cd(Pkg.dir("QML"))
include("example/gui.jl")

```

This requires QML development packages, cmake and GCC installed (it tries to do that automatically but that will probably fail).

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 21, 2017, 9:58pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/15 "2017-03-21T21:58:12Z")

</div>

Do you know which test segfaulted?

---

<div class="post-metadata">

### Author: ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)
#### Post date: [March 21, 2017, 10:12pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/16 "2017-03-21T22:12:09Z")

</div>

To be clear, I ran the QML.jl tests, it was either `properties.jl` or `qmlcomponent.jl`, probably this is a CxxWrap.jl or QML.jl bug, so I intend to take a look when I have some more time to play around with the Pi.

---

<div class="post-metadata">

### Author: ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)
#### Post date: [March 21, 2017, 11:37pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/17 "2017-03-21T23:37:32Z")

</div>

Update: after an `apt-get -f install` things appear to be working normally.

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 22, 2017, 9:44am UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/18 "2017-03-22T09:44:39Z")

</div>

I would expect that when you install via apt, all this will come out ok.  
Looks like things are working after all this - so that is good.

-viral

---

<div class="post-metadata">

### Author: ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)
#### Post date: [March 23, 2017, 12:49am UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/19 "2017-03-23T00:49:43Z")

</div>

Things are slow, but working nicely. Thanks!

---

<div class="post-metadata">

### Author: ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)
#### Post date: [March 26, 2017, 1:37pm UTC](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774/20 "2017-03-26T13:37:37Z")

</div>

Looks like we are good to go. The package also works on the other Pis, but is incredibly slow on older or slower processors. Time to get those compiler improvements and the interpreter in.

[Next page](https://discourse.julialang.org/t/need-raspberrypi-arm-julia-package-testers/2774.md?page=2)
