Julia is a general-purpose dynamic typed programming language. It implements object oriented and functional paradigms as well as as multi dispatch mechanism. It is known to be easy to write as Python and fast to run as C. It also can be the alternative to R and Python languages for Data Science and Machine Learning projects, even if Julia is also compatible with these two languages.
To install Julia onWindows (7 and later), you have to simply download and run the installer. Be careful to select the appropriate installer for your system (32-bits or 64-bits) that you can find in this download page. Also, don't forget to check the "Add Julia To PATH " box, so Julia will automatically added to your Environment Variables.
Add Julia To PATH
To install Julia on Ubuntu, just do this:
$ wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.2-linux-x86_64.tar.gz $ tar zxvf julia-1.7.2-linux-x86_64.tar.gz
You can change the previous commands to download the actual latest version of Julia. You can get the download's path from this download page (or you can simply download it from there).
$ sudo nano ~/.bashrc
export PATH="$PATH:/home/your-username/julia-1.7.2/bin"
$ source ~/.bashrc
$ julia -v
The steps are simple:
println("Hello World!")
julia hello.jl
For more information about the language and the corresponding code, you can check the following pages:
If you want to add something about the language or about this post, please feel free to do it by commenting below 🙂 .