julialangHow to install JuliaLang on Linux?
Installing JuliaLang on Linux is easy and straightforward.
- Download the latest version of Julia from the JuliaLang website.
- Extract the downloaded file using the command
tar -xzf julia-<version>.tar.gz
- Move the extracted folder to the desired location using the command
mv julia-<version> <desired_location>
- Add the Julia binary to the PATH environment variable using the command
export PATH="$PATH:<desired_location>/julia-<version>/bin"
- Verify the installation by running the command
julia
in the terminal.
$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.4.2 (2020-05-23)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia>
More of Julialang
- How to test code in JuliaLang?
- How to use assert in JuliaLang?
- How to measure execution time in JuliaLang?
- How to work with rational numbers in JuliaLang?
- How to work with matrices in JuliaLang?
- How to set up logging in JuliaLang?
- How to get JuliaLang version?
- How to use addprocs in JuliaLang?
- How to append to an array in JuliaLang?
- How to use try catch in JuliaLang?
See more codes...