Conda install julia

Hey,
I would like to install julia using conda on ubuntu 22.04 64bits but I get something that I don’t understand.

I typed

sudo conda install -c conda-forge julia

end get

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

ResolvePackageNotFound:

  • conda==4.10.3

I have

conda -V
conda 22.9.0

Thank you in advance for your help,
Ludovic

The recommended way to install Julia is from Download Julia or using juliaup GitHub - JuliaLang/juliaup: Julia installer and version multiplexer. For alternative methods, it is probably better to ask that distributor directly.

1 Like

Thank you but I need to install julia using conda.
I want to install julia for all users of my jupyter-hub (the littlest jupyter hub version).
Then I have to enter: sudo -E conda install -c conda-forge julia
I get the previous error message while julia is suppose to be available:

sudo -E conda search julia --channel conda-forge
Loading channels: done
# Name                       Version           Build  Channel             
julia                          0.5.2 blas_openblas_0  conda-forge         
julia                          0.5.2 blas_openblas_1  conda-forge         
julia                          0.5.2 blas_openblas_2  conda-forge         
julia                          0.5.2 blas_openblas_200  conda-forge         
julia                          0.5.2 blas_openblas_3  conda-forge         
julia                          0.5.2 blas_openblas_4  conda-forge         
julia                          0.5.2 blas_openblas_5  conda-forge         
julia                          0.5.2 blas_openblas_6  conda-forge         
julia                          0.6.0 blas_openblas_200  conda-forge         
julia                          0.6.1 blas_openblas_200  conda-forge         
julia                          0.6.1 blas_openblas_201  conda-forge         
julia                          0.6.1 blas_openblas_202  conda-forge         
julia                          0.6.1 blas_openblashfe40789_203  conda-forge         
julia                          1.0.0 blas_openblashfe40789_0  conda-forge         
julia                          1.0.1 blas_openblashfe40789_0  conda-forge         
julia                          1.0.2 blas_openblashfe40789_0  conda-forge         
julia                          1.0.3 blas_openblash12d65f3_2  conda-forge         
julia                          1.0.3 blas_openblash977ebb0_0  conda-forge         
julia                          1.0.3 blas_openblash977ebb0_1  conda-forge         
julia                          1.0.3      h1c3500e_3  conda-forge         
julia                          1.1.1      h14ade15_2  conda-forge         
julia                          1.1.1      h1c3500e_0  conda-forge         
julia                          1.1.1      h1c3500e_1  conda-forge         
julia                          1.1.1      h344ffa1_6  conda-forge         
julia                          1.1.1      h880f756_5  conda-forge         
julia                          1.1.1      hb80d53e_3  conda-forge         
julia                          1.1.1      hb80d53e_4  conda-forge         
julia                          1.1.1      hb80d53e_5  conda-forge         
julia                          1.1.1      hea32d20_7  conda-forge         
julia                          1.6.1      h96f571d_0  conda-forge         
julia                          1.6.2      h438a1c7_3  conda-forge         
julia                          1.6.2      h96f571d_0  conda-forge         
julia                          1.6.2      hbb0e23a_1  conda-forge         
julia                          1.6.3      h2a39549_1  conda-forge         
julia                          1.6.3      h438a1c7_0  conda-forge         
julia                          1.6.4      h2a39549_0  conda-forge         
julia                          1.6.4      h34dcedf_1  conda-forge         
julia                          1.6.4      h34dcedf_2  conda-forge         
julia                          1.6.4      h989b2f6_2  conda-forge         
julia                          1.6.5      h989b2f6_0  conda-forge         
julia                          1.6.5      h989b2f6_1  conda-forge         
julia                          1.6.5      h989b2f6_2  conda-forge         
julia                          1.7.0      h989b2f6_0  conda-forge         
julia                          1.7.1      h620718c_0  conda-forge         
julia                          1.7.1      h989b2f6_0  conda-forge         
julia                          1.7.1      h989b2f6_1  conda-forge         
julia                          1.7.1      h989b2f6_2  conda-forge         
julia                          1.7.1      h989b2f6_3  conda-forge         
julia                          1.7.2      h35b96e5_1  conda-forge         
julia                          1.7.2      h52e3dff_1  conda-forge         
julia                          1.7.2      h989b2f6_0  conda-forge         
julia                          1.7.3      h35b96e5_0  conda-forge         
julia                          1.7.3      h6f5dd7c_1  conda-forge         
julia                          1.8.0      h6f5dd7c_0  conda-forge         
julia                          1.8.0      h6f5dd7c_1  conda-forge         
julia                          1.8.0      h6f5dd7c_2  conda-forge         
julia                          1.8.0      h6f5dd7c_3  conda-forge         
julia                          1.8.1      h6f5dd7c_0  conda-forge         
julia                          1.8.2      h00c5a2e_1  conda-forge         
julia                          1.8.2      h6f5dd7c_0  conda-forge         
julia                          1.8.3      h00c5a2e_0  conda-forge```

It seems to be a problem of conda and conda-forge, nothing specific to Julia.
Sorry and thank you.