Using Julia on Android?

When I try for Julia 1.8.0 I get the following:

userland@localhost:~$ wget https://julialang-s3.julialang.org/bin/linux/aarch64/1.2/julia-1.8.5-linux-aarch64.tar.gz                 --2023-04-04 21:07:50--  https://julialang-s3.julialang.org/bin/linux/aarch64/1.2/julia-1.8.5-linux-aarch64.tar.gz
Resolving julialang-s3.julialang.org (julialang-s3.julialang.org)... 198.18.0.4
Connecting to julialang-s3.julialang.org (julialang-s3.julialang.org)|198.18.0.4|:443... connected.
ERROR: cannot verify julialang-s3.julialang.org's certificate, issued by 'CN=GlobalSign Atlas R3 DV TLS CA 2022 Q2,O=GlobalSign nv-sa,C=BE':
  Unable to locally verify the issuer's authority.
To connect to julialang-s3.julialang.org insecurely, use `--no-check-certificate'.

Then by appending the flag:

userland@localhost:~$ wget https://julialang-s3.julialang.org/bin/linux/aarch64/1.2/julia-1.8.0-linux-aarch64.tar.gz --no-check-certificate
--2023-04-04 21:08:11--  https://julialang-s3.julialang.org/bin/linux/aarch64/1.2/julia-1.8.0-linux-aarch64.tar.gz
Resolving julialang-s3.julialang.org (julialang-s3.julialang.org)... 198.18.0.4
Connecting to julialang-s3.julialang.org (julialang-s3.julialang.org)|198.18.0.4|:443... connected.
WARNING: cannot verify julialang-s3.julialang.org's certificate, issued by 'CN=GlobalSign Atlas R3 DV TLS CA 2022 Q2,O=GlobalSign nv-sa,C=BE':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 404 Not Found
2023-04-04 21:08:12 ERROR 404: Not Found.

Update

The following worked

userland@localhost:~$ wget https://julialang-s3.julialang.org/bin/linux/aarch64/1.8/julia-1.8.5-linux-aarch64.tar.gz --no-check-certificate
--2023-04-04 21:11:56--  https://julialang-s3.julialang.org/bin/linux/aarch64/1.8/julia-1.8.5-linux-aarch64.tar.gz
Resolving julialang-s3.julialang.org (julialang-s3.julialang.org)... 198.18.0.4
Connecting to julialang-s3.julialang.org (julialang-s3.julialang.org)|198.18.0.4|:443... connected.
WARNING: cannot verify julialang-s3.julialang.org's certificate, issued by 'CN=GlobalSign Atlas R3 DV TLS CA 2022 Q2,O=GlobalSign nv-sa,C=BE':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 123926747 (118M) [application/x-tar]
Saving to: 'julia-1.8.5-linux-aarch64.tar.gz'

julia-1.8.5-linux-aarch64.tar.gz  100%[==========================================================>] 118.19M  2.04MB/s    in 58s

2023-04-04 21:12:59 (2.03 MB/s) - 'julia-1.8.5-linux-aarch64.tar.gz' saved [123926747/123926747]
3 Likes

(Disclaimer: I’m the developer of Pialytic)
Another option using Julia on Android may be the Android app Pialytic which lets you execute code and generate plots on your device without the need for manual installation using Termux.
If you have existing projects, you can import them from other devices using Git, Dropbox or Box.

2 Likes

@Pia, is there any documentation or video demo for Pialytic?
Thanks.

PS:
And why is the app called that?

1 Like

I’m curious, is this compiling Julia code or running it by interpreter?

2 Likes

Currently there only exist the screenshots of the app in the store as we’re working on an iOS version of the app. There is a short Help section inside the app with a few examples.
The app itself should be self explanatory: Choose where the projects should be stored (on device or in cloud) - create a project - edit the Julia file and generate the result.

PS: Pialytic stands for Project Integrated Assistant lytic (whatever that means) but we’re happy for any suggestions.

1 Like

Currently it uses interpreting but there would be no problem providing compiling the code as well. I’ll look into that on how this can be used efficiently.

@Pia, how are packages added and environments managed by Pialytic? In the first test, I could only run a script with Base Julia code.

Currently, we can add all packages a user requests so that they are available for all users immediately but we’re working on the possibility that users can install packages as needed. If you tell use what is missing we’d be happy to install anything that is needed.

2 Likes