I have been using the third route very successfully: Download the binary from e.g. https://julialang.s3.amazonaws.com/bin/linux/x64/0.4/julia-0.4.6-linux-x86_64.tar.gz or https://s3.amazonaws.com/julialang/bin/linux/x64/0.5/julia-0.5.0-rc3-linux-x86_64.tar.gz
(http://julialang.org/downloads/) cd /opt sudo tar xzvf tarball.tgz A directory like julia-2e358ce975 will be created. Then make a symlink sudo ln -s /opt/julia-2e358ce975/bin/julia /usr/local/bin That's it, very easy. Note that now you can support multiple versions by making symlinks e.g. julia-v0.5, that's not possible (or very difficult) with the deb packages. Cheers, Kaj On Tuesday, August 30, 2016 at 8:26:29 AM UTC+3, Angshuman Goswami wrote: > > I was running Julia to run my MPC code. I needed to upgrade and hence i > deleted the folder i cloned from git hub. Now I have two problems: > > 1) Installing julia by sudo get-apt install julia, I get the following > message: > > Reading package lists... Done > Building dependency tree > Reading state information... Done > Package julia 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: Package 'julia' has no installation candidate > > 2) When I cloned the github link by git clone > https://github.com/JuliaLang/julia.git > > I tried make -j N > > it didn't work > > 3) I then used > > git pull && make > > Now Julia was updated to 0.4.7 > And now I thought it will finally work. > But now when I do i) using PyCall or ii) using RobotOS > I get the following error: > julia: codegen.cpp:3155: llvm::Value* emit_expr(jl_value_t*, jl_codectx_t*, > bool, bool): Assertion `ctx->gensym_assigned.at(idx)' failed. > > signal (6): Aborted > ERROR: LoadError: Failed to precompile PyCall to > /home/odroid/.julia/lib/v0.4/PyCall.ji > while loading /home/odroid/.julia/v0.4/RobotOS/src/RobotOS.jl, in expression > starting on line 3 > > M stuck > >
