Please download the course materials from Github by pressing the green Code
button and selecting Download ZIP
. If you're familiar with git, we recommend cloning the repository.
You will need certain pieces of software (VS Code, Julia, and Jupyter) to execute the lecture notebooks and work on the programming assignments. The instructions below will help you install them.
We shall use juliaup
, a program that manages versions of the Julia kernel. You can download juliaup
from the Windows store.
After installation, go to your Start menu, type cmd
and open the Command Prompt. Now run juliaup add lts
and juliaup default lts
. This adds the long-term stable version of the Julia kernel and sets it as the default. If you open Julia now (see Start menu), it should report Version 1.10.5
.
Download VS Code and follow the installation procedure.
Open VS Code and press the Extensions button in the left toolbar (the four cubes symbol; Ctrl+Shift+X
). Search for and install the following three extensions: Python
, Julia
, and Jupyter
.
In VS Code, go to File
(top toolbar), and press Open Folder
(Ctrl+K+O
). Navigate to and select the BMLIP
folder that you downloaded from Github. This will be your development environment for the course.
To test for a succesful software installation, open one of the lesson notebooks (in the folder lessons/notebooks/
) and select kernel on the top right. It should display the option Julia
and then julia lts channel
. You can then press the run all
button on the top toolbar.
For Julia, we shall use juliaup
, a program that manages versions of the Julia kernel. Open a terminal and execute
curl -fsSL https://install.julialang.org | sh
After installing juliaup
, enter the following commands in the terminal to add the lts
(long-term stable) version of the Julia kernel.
juliaup add lts
juliaup default lts
To check which version of Julia you're running, execute juliaup status
in a terminal. It should have an asterisk in front of the lts
version.
Next, go to the VS Code website, and download the installer for your Linux distro and follow the installation procedure.
Open VS Code and press the Extensions
button in the left toolbar (the four cubes symbol; Ctrl+Shift+X
). Search for and install the following three extensions: Python
, Julia
and Jupyter
.
In VS Code, go to File
(top toolbar), and press Open Folder
(Ctrl+K+O
). Navigate to and select the BMLIP
folder that you downloaded from Github. This will be your development environment for the course.
To test for a succesful software installation, open one of the lesson notebooks (in the folder lessons/notebooks/
) and then press Select kernel
on the top right. It should display the option Julia
, and then julia lts channel
. Finalize the test with run all
(top toolbar).
This installation guide assumes that you have homebrew installed. If not, please install it first.
For Julia, we shall use juliaup
, a program that manages versions of the Julia kernel. Open a terminal and execute
brew install juliaup
After installing juliaup
, enter the following commands in the terminal to add the lts
(long-term stable) version of the Julia kernel.
juliaup add lts
juliaup default lts
To check which version of Julia you're running, execute juliaup status
in a terminal. It should have an asterisk in front of the lts
version.
Next, go to the VS Code website, and download the installer for the type of CPU architecture is on your MacBook and follow the installation procedure.
Open VS Code and press the Extensions
button in the left toolbar (the four cubes symbol; Cmd+Shift+X
). Search for and install the following three extensions: Python
, Julia
and Jupyter
.
In VS Code, go to File
(top toolbar), and press Open Folder
(Cmd+K+O
). Navigate to and select the BMLIP
folder that you downloaded from Github. This will be your development environment for the course.
To test for a succesful software installation, open one of the lesson notebooks (in the folder lessons/notebooks/
) and then press Select kernel
on the top right. It should display the option Julia
, and then julia lts channel
. Finalize the test with run all
(top toolbar).