Download and install Julia on various Operating Systems

Current Release

v0.3.3

Windows Self-Extracting Archive (.exe) 32-bit 64-bit
Mac OS X Package (.dmg) 10.7+ 64-bit
Ubuntu packages (.deb) 32/64-bit
Fedora/RHEL/CentOS/SL packages (.rpm) 32/64-bit
Generic Linux binaries 32-bit 64-bit
Source Tarball Github

Nightly builds

These are bleeding-edge binaries of the latest version of Julia under development, which you can use to get a preview of the latest work. However, because Julia is under heavy development, you may be unlucky and get a build with a serious bug, or one which breaks existing packages. Most users are advised to use the latest official release version of Julia, above.

Windows Self-Extracting Archive (.exe) 32-bit 64-bit
Mac OS X Package (.dmg) 10.7+ 64-bit
Ubuntu packages (.deb) 32/64-bit
Fedora/RHEL/CentOS/SL packages (.rpm) 32/64-bit
Generic Linux binaries 32-bit 64-bit
Source GitHub

Older Releases

v0.2.1

Windows Self-Extracting Archive (.exe) 32-bit 64-bit
Mac OS X Package (.dmg) 10.6 64-bit 10.7+ 64-bit
Ubuntu packages (.deb) 32/64-bit
Source GitHub

v0.1.2

Windows Archive (.zip) 32-bit 64-bit (Unavailable)
Mac OS X Package (.dmg) 32-bit (Unavailable) 64-bit
Source GitHub Tarball

If the provided download files do not work for you, please file an issue. It is strongly recommended that you download the v0.3 binaries to try out Julia, unless you are working with code that was developed specifically for a previous release.


Platform Specific Instructions

Windows

Julia is available for both 32-bit and 64-bit Windows since XP SP2.

  1. Download the Windows julia.exe installer for your platform. 32-bit julia works on both x86 and x86_64. 64-bit julia will only run on 64-bit Windows (x86_64).
  2. Run the downloaded program to extract julia
  3. Double-click julia.bat in the unpacked folder to start julia

The Windows README contains information on dependencies.

Uninstallation is performed by deleting the extracted directory and the packages directory in %HOME%/.julia. If you would also like to remove your preferences files, remove %HOME%/.juliarc.jl and %HOME%/.julia_history.

OS X

On Mac, a Julia-version.dmg file is provided, which contains Julia.app. Installation is the same as any other Mac software – copy the Julia.app to your hard-drive (anywhere) or run from the disk image. Julia supports all OS X 10.7 and later. If you use Snow Leopard (OSX 10.6), Julia 0.2.1 was the last release of Julia that supported it.

Uninstall Julia by deleting Julia.app and the packages directory in ~/.julia. Multiple Julia.app binaries can co-exist without interfering with each other. If you would also like to remove your preferences files, remove ~/.juliarc.jl.

Linux

Instructions will be added here as more linux distributions start including julia. If your Linux distribution is not listed here, you should still be able to run julia by building from source. See the Julia README for more detailed information.

Ubuntu

A PPA (Personal Package Archive) is provided for Ubuntu systems to allow for automatic updating to the latest stable version of Julia. To use this PPA and install julia on Ubuntu 12.04 or later, run the following commands:

sudo add-apt-repository ppa:staticfloat/juliareleases
sudo add-apt-repository ppa:staticfloat/julia-deps
sudo apt-get update
sudo apt-get install julia

Note that Ubuntu has deadlines for accepting new versions of software into their default repositories, and as such the default repositories often have Julia versions that lag behind significantly. When reporting issues, please ensure you are using the latest available release by using one of the PPA repositories displayed on this page.

Fedora/RHEL/CentOS/SL/OEL

A Copr repository is provided for Fedora, RHEL, CentOS, Scientific Linux and Oracle Enterprise Linux systems to allow for automatic updating to the latest stable version of Julia.

If you are using RHEL, CentOS, Scientific Linux or Oracle Enterprise Linux (version 5 or higher), first enable EPEL for your distribution version. Then follow the steps below.

If you are using Fedora (version 19 or higher), directly run:

sudo dnf copr enable nalimilan/julia
sudo yum install julia

If dnf is not available for your distribution, download the relevant .repo file from the Copr webpage, copy it to /etc/yum.repos, and run the second command.

Note that Fedora guidelines advise against uploading new breaking releases to official repositories: therefore your distribution will not provide the new major versions of Julia which were published after it. When reporting issues, please ensure you are using the latest available release by using one of the Copr repositories displayed on this page.

Ubuntu nightlies installation instructions

A PPA (Personal Package Archive) is provided for Ubuntu systems to allow for automatic updating to the latest development version of Julia. To use this PPA and install julia on Ubuntu 12.04 or later, run the following commands:

sudo apt-add-repository ppa:staticfloat/julianightlies
sudo apt-add-repository ppa:staticfloat/julia-deps
sudo apt-get update
sudo apt-get install julia

New versions are built every night. If you have already installed julia and you want to upgrade to the latest version, do:

sudo apt-get update
sudo apt-get upgrade

Fedora/RHEL/CentOS/SL/OEL nightlies installation instructions

A Copr repository is provided for Fedora, RHEL, CentOS, Scientific Linux and Oracle Enterprise Linux systems to allow for automatic updating to the latest development version of Julia.

If you are using RHEL, CentOS, Scientific Linux or Oracle Enterprise Linux (version 5 or higher), first enable EPEL for your distribution version. Then follow the steps below.

If you are using Fedora (version 19 or higher), directly run:

sudo dnf copr enable nalimilan/julia-nightlies
sudo yum install julia

If dnf is not available for your distribution, download the relevant .repo file from the Copr webpage, copy it to /etc/yum.repos, and run the second command.

New versions are built every night. If you have already installed julia and you want to upgrade to the latest version, do:

sudo yum upgrade julia

Unininstalling Julia

Uninstallation depends on the method you used to install Julia. If you installed from a package manager such as apt-get or yum, use the package manager to remove julia, for example apt-get remove julia or yum remove julia. If you did a source build, you can remove it by deleting your julia source folder. If you would also like to remove your preferences files, they are ~/.julia and ~/.juliarc.jl.


Graphics in Julia

Graphics in Julia are available through external packages. These packages are under heavy development and take different approaches towards graphics and plotting, which suit different use cases.

Gadfly

Gadfly is an implementation of a Wickham-Wilkinson style grammar of graphics in Julia. Add the Gadfly package to your Julia installation with the following command on the Julia prompt:

  1. Pkg.add("Gadfly")
  2. using Gadfly
  3. draw(SVG("output.svg", 6inch, 3inch), plot([sin, cos], 0, 25)) #(plot a pair of simple functions over a range)

Gadfly’s interface will be familiar to users of R’s ggplot2 package. See examples and documentation on the Gadfly homepage.

PyPlot

PyPlot uses the Julia PyCall package to call Python’s matplotlib directly from Julia with little or no overhead (arrays are passed without making a copy). Installation and example usage:

  1. Pkg.add("PyPlot")
  2. using PyPlot
  3. x = linspace(0,2*pi,1000); y = sin(3*x + 4*cos(2*x))
  4. plot(x, y, color="red", linewidth=2.0, linestyle="--")