Call the function versioninfo(), or enter the constant VERSION Depending on what version of Ubuntu you're using, the Julia that you installed from apt-get is probably quite out of date. It's better to use the more recent tarball releases available from www.julialang.org/downloads.
On Sunday, September 20, 2015 at 10:46:53 AM UTC-7, testertester wrote: > > I am on Ubuntu, and my copy of julia was installed with apt-get install > julia. > > I was trying the curve fitting tutorial found here ( > http://www.walkingrandomly.com/?p=5181) but I kept getting the error > "curve_fit not defined". Yes, I have done "Pkg.add("Optim")" and > "Pkg.add("LsqFit")", that doesn't help. Apparently, nobody else on the > internet has ever had this problem. > <https://www.google.com/search?client=ubuntu&channel=fs&q=%22curve_fit+not+defined%22&ie=utf-8&oe=utf-8>I'm > > surprised. > > Also, it doesn't seem like I can find the version number of Julia that I'm > using. Following this ( > http://stackoverflow.com/questions/25326890/how-to-find-version-number-of-julia-is-there-a-ver-command) > > just gives me the error "verbose not defined". Is every piece of > documentation about Julia from earlier than 6/2015 invalid now? The > responses I found here > <https://groups.google.com/forum/#!topic/julia-users/djWGrU6z3Hc>are > pretty useless, as curve_fit doesn't even work by itself. >
