Installing on Linux
Tip: To avoid errors, instead of typing the commands below, select and copy them from this page and paste them into the terminal.
-
Open a terminal.
- Enter
python3.12 -V
to check if you have Python 3.12. If you get an error message like ‘command not found’:- Enter
sudo apt install python3.12
or similar. (Search online for instructions for your Linux distribution.) - If you’re using a Debian-based distribution like Ubuntu,
enter in addition
sudo apt install python3.12-venv
or similar.
- Enter
-
If you installed Python in step 2, close the terminal and open a new one.
-
Enter
cd <M269 folder path>
, e.g.cd ~/OU/m269-25j
, to go to your M269 folder. (~
is a shorthand for your home folder.) -
Enter
curl -LO https://github.com/dsa-ou/m269-installer/raw/main/install.sh
to download the installation script. -
Enter
chmod +x install.sh
to allow the installation script to run. -
Enter
./install.sh
to run the installation script. Ignore a message about pytype and networkx being incompatible. - Close the terminal.
You will have these files in your M269 folder:
install.sh
: the installation scriptrequirements.txt
: the list of M269 softwarecustom.css
: the style changes to Jupyter notebooks
Tip: Do not remove these files, so that you can re-install the software, if needed.
⇧ Home | Using ⇨ |