julialang.org.
This is the GitHub repository of Julia source code, including instructions for compiling and installing Julia, below.
If you need to build Julia in an environment that does not allow access to the outside world, use
Note: the build process will not work if any of the build directory's parent directories have spaces in their names (this is due to a limitation in GNU make).
Once it is built, you can run the
You can read about getting started in the manual.
If you are building a Julia package for distribution on Linux, OS X, or Windows, take a look at the detailed notes in DISTRIBUTING.md.
from https://github.com/JuliaLang/julia
Julia is a high-level, high-performance dynamic language for technical computing.
The main homepage for Julia can be found at - Homepage: http://julialang.org
- Binaries: http://julialang.org/downloads/
- Documentation: http://docs.julialang.org/
- Packages: http://docs.julialang.org/en/latest/packages/packagelist/
- Source code: https://github.com/JuliaLang/julia
- Git clone URL: git://github.com/JuliaLang/julia.git
- Mailing lists: http://julialang.org/community/
- IRC: http://webchat.freenode.net/?channels=julia
Currently Supported Platforms
- GNU/Linux
- Darwin/OS X
- FreeBSD
- Windows
Source Download and Compilation
First, acquire the source code by cloning the git repository:git clone git://github.com/JuliaLang/julia.git
If you are behind a firewall and you need to use the https protocol instead of the git protocol:git config --global url."https://".insteadOf git://
Next, enter the julia/
directory and run make
to build the julia
executable. To perform a parallel build, use make -j N
and supply the maximum number of concurrent processes.
When compiled the first time, it will automatically download and build its external dependencies.
This takes a while, but only has to be done once. If the defaults in the
build do not work for you, and you need to set specific make
parameters, you can save them in Make.user
. The build will automatically check for the existence of Make.user
and use it if it exists.
Building Julia requires 1.5GiB of diskspace and approximately 700MiB of virtual memory.If you need to build Julia in an environment that does not allow access to the outside world, use
make -C deps getall
to download all the necessary files. Then, copy the julia directory over to the target environment and build with make
.Note: the build process will not work if any of the build directory's parent directories have spaces in their names (this is due to a limitation in GNU make).
Once it is built, you can run the
julia
executable using its full path in the directory created above (the julia
directory), or, to run it from anywhere,- add a soft link to the
julia
executable in thejulia
directory to/usr/local/bin
(or any suitable directory already in your path), or - add the
julia
directory to your executable path for this shell session (in bash:export PATH="$(pwd):$PATH"
; in csh or tcsh:set path= ( $path $cwd )
), or - add the
julia
directory to your executable path permanently (eg in.bash_profile
).
julia
If everything works correctly, you will see a Julia banner and an
interactive prompt into which you can enter expressions for evaluation.
(Errors related to libraries might be caused by old, incompatible
libraries sitting around in your PATH. In that case, try moving the julia
directory earlier in the PATH).You can read about getting started in the manual.
If you are building a Julia package for distribution on Linux, OS X, or Windows, take a look at the detailed notes in DISTRIBUTING.md.
Uninstalling Julia
Julia does not install anything outside the directory it was cloned into. Julia can be completely uninstalled by deleting this directory. Julia packages are installed in~/.julia
by default, and can be uninstalled by deleting ~/.julia
.from https://github.com/JuliaLang/julia