13

It appears that brew does not have a Julia formula. This is quite surprising to me, am I missing something?

Apparently there's a brew tap that can be used instead (staticfloat/julia). Before going for that solution I wanted to know if that's supposed to be the most straightforward way to do so.

  • 1
    The reason the only julia formula you will find is in a tap right now is because Julia has, historically, had pretty strict version requirements on dependencies such as LLVM. Homebrew likes to provide only the most recent version of formulae, and as Julia 0.4 still uses LLVM 3.3, this poses a problem for a mainline Homebrew Julia formula. There is the Homebrew/versions tap that has older versions of LLVM available, but by that time, you are no better off than just having a tap dedicated to Julia. The cask approach also works, as long as you don't need to custom compile anything. – staticfloat May 23 '16 at 20:51
22

You can install Julia using cask:

$ brew cask install julia

$ brew cask info julia
julia: 0.4.2
Julia
http://julialang.org/
Not installed
https://github.com/caskroom/homebrew-cask/blob/master/Casks/julia.rb
==> Contents
  Julia-0.4.2.app (app)
  Julia-0.4.2.app/Contents/Resources/julia/bin/julia (binary)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .