Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to find version number of Julia? Is there a ver() command?

Tags:

julia

I installed Julia studio 0.4.4, and found it does not support multi-line comments #=...=# so I wanted to find what version of Julia it is running.

In Matlab one types the command ver which not only shows the version number of matlab, but also the version numbers of all toolboxes installed.

I googled for sometime, but not able to find similar command for Julia. Is there such a command for Julia?

julia> Version ErrorException("Version not defined") julia> ver ErrorException("ver not defined") julia> ver() ErrorException("ver not defined") julia> Version() ErrorException("Version not defined") 
like image 437
Steve H Avatar asked Aug 15 '14 13:08

Steve H


People also ask

How to know my Julia version?

Use the versioninfo command: From the documentation: versioninfo([verbose::Bool]) Print information about the version of Julia in use. If the verbose argument is true, detailed system information is shown as well.

What is Julia REPL?

REPL stands for read, execute, print, loop. Once Julia is installed, typing Julia at the command line opens the REPL. The REPL has many features that can help you test snippets and debug your code.


2 Answers

Just entering out the constant VERSION would also display the version number.

julia> VERSION v"0.4.0" 
like image 142
Dawny33 Avatar answered Sep 19 '22 17:09

Dawny33


Use the versioninfo command:

From the documentation:

versioninfo([verbose::Bool])      Print information about the version of Julia in use. If the verbose argument      is true, detailed system information is shown as well. 
like image 24
damienfrancois Avatar answered Sep 19 '22 17:09

damienfrancois