Package Details: julia-ijulia 1.21.1-1

Git Clone URL: https://aur.archlinux.org/julia-ijulia.git (read-only, click to copy)
Package Base: julia-ijulia
Description: Julia-language backend combined with the Jupyter interactive environment
Upstream URL: https://github.com/JuliaLang/IJulia.jl
Keywords: julia
Licenses: MIT
Submitter: jonathon
Maintainer: jonathon
Last Packager: jonathon
Votes: 3
Popularity: 0.000309
First Submitted: 2018-09-02 16:03
Last Updated: 2020-03-26 17:16

Latest Comments

1 2 Next › Last »

pgoetz commented on 2020-04-30 17:23

Updating my previous comment. I uninstalled everything and experimented with re-installing a few times so that the next person who comes along doesn't need to go through this. You do have to install julia-distrohelper first because none of the other packages prepare() if dh_julia isn't installed first. This sequence of commands works to get julia-ijulia installed:

$ pacaur -S julia-distrohelper
$ pacaur -S julia-binaryprovider
$ source /etc/profile.d/julia-load-path.sh
$ pacaur -S julia-ijulia

If you don't use pacaur, any decent AUR-helper (e.g. yay) should work instead. julia-binaryprovider pulls in julia-loadpath as a dependency. You can't just install julia-loadpath first, as then /usr/share/julia/vendor hasn't been created yet, and sourcing julia-load-path.sh fails to set the JULIA_LOAD_PATH environment variable because of the -d in the short circuit operator. If you modify the julia-loadpath package so that it creates /usr/share/julia/vendor, then julia-loadpath can probably be substituted for julia-binaryprovider in the preceding sequence of commands. I'll bet there's a way to set these packages up so that any combination of the julia-* packages can be installed with a single AUR-helper command.

pgoetz commented on 2020-04-30 14:55

I had to dance around to get this to install, so now am not sure if it was necessary to install julia-distrohelper first. I think perhaps this would work?

$ pacaur -S julia-loadpath
$ source /etc/profile.d/julia-load-path.sh
$ pacaur -S julia-ijulia

I wonder if there's a way to fix the PKGBUILD for all these julia-* packages so that julia-loadpath is always installed first. The source command above could perhaps be run from a post-install script for julia-loadpath. Otherwise, only the truly motivated will attempt to install this from AUR.

jonathon commented on 2019-12-22 15:23

The package needed updating for Julia 1.3. With 1.20.2-1 I've removed the hard-coded version number and replaced it with the output of julia -v.

kwacorn commented on 2019-12-22 09:06

When trying to build julia-ijulia 1.20.1-1 I get the following error message:

==> Starting build()... [ Info: Installing Julia kernelspec in /var/tmp/pamac-build-kw/julia-ijulia/src/.local/share/jupyter/kernels/julia-1.3 sed: can't read /var/tmp/pamac-build-kw/julia-ijulia/src/.local/share/jupyter/kernels/julia-1.2/kernel.json: No such file or directory ==> ERROR: A failure occurred in build(). Aborting...

May be a hard coded pathname problem, I am unsure?

jonathon commented on 2019-11-07 17:30

\o/

gboehl commented on 2019-11-07 17:25

Sorry. Removed my comment before I saw your answer. Yes, you are right, it is fixed. Many thanks!

jonathon commented on 2019-11-07 17:19

That's a different issue, and it's fixed with pkgver=1.20.1.

jonathon commented on 2019-03-13 19:37

@ixil It looks like you created an issue for yourself - the PKGBUILD already takes that into account. Please try the PKGBUILD as-is and let me know if the issue remains.

ixil commented on 2019-03-13 14:20

ijulia installs to ~./local/.share/jupyter/kernels/julia-1.1 directly and not to the $src as you might hope/expect - not sure when this behaviour became the default. I tried specifying IJULIA_DIR in the build step: https://github.com/JuliaLang/IJulia.jl/blob/master/deps/kspec.jl#L78 but received a julia IOERROR

==> Starting build()...
[ Info: Installing Julia kernelspec in /home/ixil/.local/share/jupyter/kernels/julia-1.1
sed: can't read /tmp/makepkg/julia-ijulia/src/.local/share/jupyter/kernels/julia-1.1/kernel.json: No such file or directory

jonathon commented on 2019-03-08 13:17

@alleut You'll need to start a new shell after installing julia-loadpath otherwise the system-wide $JULIA_LOAD_PATH won't be in effect.