Setup Instructions for Linux

Linux / Bash

The default shell is usually bash, but if your machine is set up differently you can run it by opening a terminal and typing bash. There is no need to install anything.

Linux / Git

If Git is not already available on your machine you can try to install it via your distro's package manager (e.g. apt-get).

Linux / Editor

Kate is one option for Linux users.

Linux / Anaconda Python

We recommend the all-in-one scientific Python installer Anaconda.

  1. Download the installer that matches your operating system and save it in your home folder.
  2. Open a terminal window.
  3. Type
    bash Anaconda-
    and then press tab. The name of the file you just downloaded should appear.
  4. Press enter. You will follow the text-only prompts. When there is a colon at the bottom of the screen press the down arrow to move down through the text. Type yes and press enter to approve the license. Press enter to approve the default location for the files. Type yes and press enter to prepend Anaconda to your PATH (this makes the Anaconda distribution the default Python).

Linux / Setup Check

  1. Download the swc-installation-test-1.py script and save it in your home folder.
  2. Open a terminal window (or reuse the one that you used to install Anaconda above).
  3. Type
    python swc-installation-test-1.py
    and press enter. The script confirms that your default Python version is correct for the bootcamp. Success is indicated by the word Passed.
  4. Download the swc-installation-test-2.py script and save it in your home folder.
  5. In the terminal window type
    python swc-installation-test-2.py
    and press enter. The script confirms that you have bash, git, a code editor, and the Python libraries that we will use in the bootcamp have been installed. It prints a collection of success and/or failure messages.

If either script fails, please contact Doug at dlatornell@eos.ubc.ca or in ESB-3053.

Home