-
-
Save adriantorrie/a13a866fd9f5f47aaf85 to your computer and use it in GitHub Desktop.
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 |
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.
Stepwise instructions are available here.
The instructions can be used for any version of Julia in ubuntu
As of Julia 1.0, you will need to do julia -e 'using Pkg; Pkg.update()"
.
This PPA provides old version of of Julia not the latest one.
I faced the problem in installing the Julia latest version. So when I successfully installed the latest version of Julia in ubuntu, I wrote an article regarding the stepwise procedure to install julia ubuntu