1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/julia_course.git synced 2024-11-16 13:28:10 +00:00

Update README

This commit is contained in:
Mo 2024-05-14 17:09:35 +02:00
parent 2f16a8bd6c
commit 6fac8eda97

View file

@ -1,4 +1,4 @@
# Julia course - 20.03.-24.03.2023 # How 2 Julia
## Installation ## Installation
@ -8,7 +8,8 @@ First, download Julia from the official website: https://julialang.org/downloads
You 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`). You 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`).
In case you download the binary, add it to your `PATH`. The easiest way would be to move the binary to `~/.local/bin`. In case you download the binary, add it to your `PATH`.
The easiest way would be to move the binary to `~/.local/bin`.
### Windows ### Windows
@ -28,15 +29,21 @@ Now, launch Julia to be welcomed by the [REPL](https://docs.julialang.org/en/v1/
[Pluto](https://github.com/fonsp/Pluto.jl) has to be installed to be able to view, edit and run the notebooks of this course. [Pluto](https://github.com/fonsp/Pluto.jl) 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: In the REPL, press `]`.
This will cause the prompt to change to a one ending with `pkg>`.
Now run the following:
``` ```
activate . activate .
``` ```
Don't forget the **dot** after `activate`! The dot means that you want to activate the environment in the _current_ path. Don't forget the **dot** after `activate`!
The dot means that you want to activate the environment in the _current_ directory.
This will activate the environment of the Julia course. This environment includes only the Pluto package. Your prompt should now change from something like `(v1.8) pkg>` to `(julia_course) pkg>`. This means that the environment was successfully activated. This will activate the environment of the Julia course.
This environment includes only the Pluto package.
Your prompt should now change from something like `(v1.10) pkg>` to `(how-2-julia) pkg>`.
This means that the environment was successfully activated.
Now, run the following: Now, run the following: