mirror of
https://gitlab.rlp.net/mobitar/julia_course.git
synced 2024-10-05 13:02:15 +00:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
= Julia course - 28.03.-01.04.2022
|
|
:source-highlighter: highlight.js
|
|
:highlight-languages: julia
|
|
|
|
== Installation
|
|
First, download Julia from the official website: https://julialang.org/downloads/.
|
|
|
|
If you are on Windows, follow the instructions of the installer.
|
|
|
|
Linux users can either download the binary from the website above or install Julia with a package manager if it provides an up to date package (usually named `julia`).
|
|
|
|
== Installing Pluto
|
|
After the installation of Julia, launch Julia to be welcomed by the REPL.
|
|
|
|
Now, https://github.com/fonsp/Pluto.jl[Pluto] has to be installed to be able to view, edit and run the notebooks of this course.
|
|
|
|
In the REPL, press `]`. This will cause the prompt to change to a one ending with `pkg>`. Now run the following:
|
|
|
|
[source]
|
|
----
|
|
add Pluto
|
|
----
|
|
|
|
After the installation is done, press backspace to get back to the normal prompt ending with `julia>`.
|
|
|
|
Now, run the following:
|
|
|
|
[source,julia]
|
|
----
|
|
import Pluto
|
|
Pluto.run()
|
|
----
|
|
|
|
A new tab will open in your browser where you can then open one of the notebooks.
|