How To Install Julia In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

How To Install Julia In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

julia

A high-level, high-performance dynamic programming language for technical computing.

Maintainer: Debian Julia Team



Section: science

Install julia

  • Debian apt-get install julia Click to copy
  • Ubuntu apt-get install julia Click to copy
  • Alpine OS apk add julia Click to copy
  • Arch Linux pacman -S julia Click to copy
  • Kali Linux apt-get install julia Click to copy
  • Fedora dnf install julia Click to copy
  • Raspbian apt-get install julia Click to copy

A high-level, high-performance dynamic programming language for technical computing.

How to use julia?

Below are few example commands for julia that you can use in the terminal.

Start a Julia REPL session:
juliaClick to copy
Execute a Julia program and exit:
julia program.jlClick to copy
Execute a Julia program that takes arguments:
julia program.jl argumentsClick to copy
Evaluate a string containing Julia code:
julia -e 'julia_code'Click to copy
Evaluate a string of Julia code, passing arguments to it:
julia -e 'for x in ARGS; println(x); end' argumentsClick to copy
Start Julia in parallel mode, using N worker processes:
julia -p NClick to copy
Install the latest version of julia in Debian, Ubuntu, Alpine, Arch, Kali, Fedora and Raspbian from terminal. To install the julia just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of julia from the respository and install it in your computer/server.