Skip to content

Instantly share code, notes, and snippets.

@adriantorrie
Last active February 25, 2020 11:43
Show Gist options
  • Save adriantorrie/a13a866fd9f5f47aaf85 to your computer and use it in GitHub Desktop.
Save adriantorrie/a13a866fd9f5f47aaf85 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 - Install The Julia Language (julia-lang)
sudo add-apt-repository ppa:staticfloat/juliareleases
sudo apt-get update
sudo apt-cache show julia
sudo apt-get install julia julia-doc -y
julia -E 'Pkg.update()'
julia
@abdallahokasha
Copy link

abdallahokasha commented Jan 2, 2018

It's very easy, here's how to install it on Ubuntu in 8 steps:

1- go to Julia downloads page

2- Choose you version (32bit or 64bit) from Generic Linux Binaries, and then download it.

3- extract .tar.gz file in home or any place you would like to install Julia on it.

4- run > gksudo gedit /etc/environment on your terminal to setup envirnment path.

5- edit file :/Path_To_extracted_File/bin in my case it was like this:
":/home/okasha/julia-d386e40c17/bin"

6- Save edits and close the file.

7- Restart your machine.

8- Open your terminal again and run > julia -version
you shoud get "julia version 0.6.2" for Example according to your installed julia version.

Run > julia to open julia session.

Reference

Copy link

ghost commented May 22, 2018

Stepwise instructions are available here.

The instructions can be used for any version of Julia in ubuntu

@asinghvi17
Copy link

As of Julia 1.0, you will need to do julia -e 'using Pkg; Pkg.update()".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment