# Julia v1.7.1 on RPI4: Use JILL

**URL:** <https://discourse.julialang.org/t/julia-v1-7-1-on-rpi4-use-jill/74673>\
**Category:** New to Julia\
**Tags:** installation, raspberry-pi\
**Created:** [January 15, 2022, 4:28pm UTC](https://discourse.julialang.org/t/julia-v1-7-1-on-rpi4-use-jill/74673 "2022-01-15T16:28:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmoored4](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmoored4/32/18311_2.png) [@dmoored4](https://discourse.julialang.org/u/dmoored4)\
**Post date:** [January 15, 2022, 4:28pm UTC](https://discourse.julialang.org/t/julia-v1-7-1-on-rpi4-use-jill/74673/1 "2022-01-15T16:28:54Z")

</div>

Running Ubuntu 21.10 on RPI4 and I had trouble installing anything except v1.5 via `sudo apt install julia` so I wanted to highlight how well [JILL](https://pypi.org/project/jill/) works. Just scroll down to the Advanced: The Python API section. It’s not too advanced, so don’t worry.

```julia
dmoored4@rpi4:~$ sudo apt install python3-pip

dmoored4@rpi4:~$ pip install jill

```

At this point, the “advanced” is necessary because the command `jill install` did not work. I think maybe the shell script doesn’t work on rpi but I’m not entirely sure. Just start python and follow the instructions from there.

```julia
dmoored4@rpi4:~ python3
>>> from jill.install import install_jilia
>>> from jill.download import download_package
>>> install_julia(confirm=True)
>>> exit()

```

Open a new terminal and type `julia` to start.

Highly recommend this process and thanks to those who made it!

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [January 17, 2022, 6:57am UTC](https://discourse.julialang.org/t/julia-v1-7-1-on-rpi4-use-jill/74673/2 "2022-01-17T06:57:43Z")

</div>

Thankyou for sharing that. Your point about the distribution provided packages is well made. I work in HPC and see this often - to get the latest scientific packages you have to use Eaybuild or Spack.  
I will turn the point around though - the reason why Ubuntu is popular in the ML space is because it has very up to date packages available from distro channels. Clearly not Julia though!

---

<div class="post-metadata">

**Author:** ![j\_u](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j_u/32/219081_2.png) [@j\_u](https://discourse.julialang.org/u/j_u)\
**Post date:** [February 2, 2022, 1:40am UTC](https://discourse.julialang.org/t/julia-v1-7-1-on-rpi4-use-jill/74673/3 "2022-02-02T01:40:11Z")

</div>

> [@dmoored4](#):
>
> At this point, the “advanced” is necessary because the command `jill install` did not work.

I am recalling I’ve been encountering problems with jill on Neoverse N1 thus I believe ARM is not fully supported (by jill). I have not been digging into this topic so thanks for your info and solution (workaround) to the problem.

---

<div class="post-metadata">

**Author:** ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Post date:** [February 2, 2022, 3:04am UTC](https://discourse.julialang.org/t/julia-v1-7-1-on-rpi4-use-jill/74673/4 "2022-02-02T03:04:14Z")

</div>

> [@dmoored4](#):
>
> the command `jill install` did not work. I think maybe the shell script doesn’t work on rpi

It’s not a shell script, it’s a Python script. But, why did it fail? … hmm, even if you had installed the `jill.sh` bash script, it’s called `jill.sh` not `jill`, so I doubt that interfered. If you recall or can capture the output of the failed `jill install` and post it here, or better yet, on the (Python) jill github repo, it would useful.

> [@j\_u](#):
>
> I have not been digging into this topic so thanks for your info and solution (workaround) to the problem.

If the workaround (explicit instructions above) work, then this means jill supports the platform, since the Python script `jill` does essentially the same thing. But, why the executable `jill` failed is a good question.

---

<div class="post-metadata">

**Author:** ![j\_u](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j_u/32/219081_2.png) [@j\_u](https://discourse.julialang.org/u/j_u)\
**Post date:** [February 2, 2022, 5:04pm UTC](https://discourse.julialang.org/t/julia-v1-7-1-on-rpi4-use-jill/74673/5 "2022-02-02T17:04:22Z")

</div>

I just did some testing on Neoverse N1. I can not confirm problems with pip3 install on Neoverse N1. The installation process went ok (I used pip3 with sudo, probably better is to use pip3 install --user. I have not checked that) . However, my memory related to the use of jill.sh on Neoverse seems to be correct. When executing the script I received an error once again.

```julia
### PROBLEMS
$ JULIA_VERSION=1.7.1 bash -u -ci "$(curl -fsSL https://raw.githubusercontent.com/abelsiqueira/jill/master/jill.sh)"
bash: BASHRCSOURCED: unbound variable
JILL - Julia Installer 4 Linux - Light
Copyright (C) 2017-2021 Abel Soares Siqueira <abel.s.siqueira@gmail.com>
Distributed under terms of the GPLv3 license.

This script will:

  - Try to download julia version '1.7.1'
  - Create a link for julia
  - Create a link for julia-VER

Download folder: '/home/opc/packages/julias'
Link folder: '/home/opc/.local/bin'

Download folder will be created if required
Do you accept these terms? (Y/N) y
Downloading Julia version 1.7.1
error downloading julia-1.7.1

```

```julia
### OK
$ sudo yum install python3-pip
Last metadata expiration check: 1:46:47 ago on Wed 02 Feb 2022 02:31:57 PM GMT.
Package python3-pip-9.0.3-20.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

```

```julia
### OK
$ sudo pip3 install jill
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting jill
  Downloading https://files.pythonhosted.org/packages/36/79/979f61cd3c3a4ce248124b000b1036cfffbf662ce1e34ae6bce62908f409/jill-0.10.1-py3-none-any.whl (40kB)
    100% |████████████████████████████████| 40kB 11.1MB/s 
Collecting fire (from jill)
  Downloading https://files.pythonhosted.org/packages/11/07/a119a1aa04d37bc819940d95ed7e135a7dcca1c098123a3764a6dcace9e7/fire-0.4.0.tar.gz (87kB)
    100% |████████████████████████████████| 92kB 13.2MB/s 
Collecting wget (from jill)
  Downloading https://files.pythonhosted.org/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip
Collecting python-gnupg (from jill)
  Downloading https://files.pythonhosted.org/packages/42/b2/6e6ac110f4755ac02e15c469b7c71a154c564fcdfaec19bf2ea22a03436a/python_gnupg-0.4.8-py2.py3-none-any.whl
Requirement already satisfied: requests in /usr/lib/python3.6/site-packages (from jill)
Collecting semantic-version (from jill)
  Downloading https://files.pythonhosted.org/packages/a5/15/00ef3b7888a10363b7c402350eda3acf395ff05bebae312d1296e528516a/semantic_version-2.8.5-py2.py3-none-any.whl
Collecting requests-futures (from jill)
  Downloading https://files.pythonhosted.org/packages/63/9e/7b986554f6de56f1d43f9fdc410631009af6034027efa31f90867d264319/requests_futures-1.0.0-py2.py3-none-any.whl
Requirement already satisfied: jsonschema in /usr/lib/python3.6/site-packages (from jill)
Requirement already satisfied: six in /usr/lib/python3.6/site-packages (from fire->jill)
Collecting termcolor (from fire->jill)
  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.6/site-packages (from requests->jill)
Requirement already satisfied: idna<2.8,>=2.5 in /usr/lib/python3.6/site-packages (from requests->jill)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/lib/python3.6/site-packages (from requests->jill)
Installing collected packages: termcolor, fire, wget, python-gnupg, semantic-version, requests-futures, jill
  Running setup.py install for termcolor ... done
  Running setup.py install for fire ... done
  Running setup.py install for wget ... done
Successfully installed fire-0.4.0 jill-0.10.1 python-gnupg-0.4.8 requests-futures-1.0.0 semantic-version-2.8.5 termcolor-1.1.0 wget-3.2

```

```julia
### OK
jill install
JILL - Julia Installer 4 Linux (MacOS, Windows and FreeBSD) -- Light

jill will:
  1) install Julia latest stable release for linux-aarch64 into /home/opc/packages/julias
  2) make symlinks in /home/opc/.local/bin
You may need to manually add /home/opc/.local/bin to PATH
Continue installation? [Y/n] Y

[...]

$ julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.7.1 (2021-12-22)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

```

```julia
### CPU INFO
lscpu
Architecture: aarch64
Vendor ID: ARM
Model: 1
Model name: Neoverse-N1

```

```julia
### OS INFO
cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.5"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.5"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.5"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:5:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.5
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.5

```
