These instructions should get you from zero to a working setup on windows, linux and Mac. Please try to follow them before the workshop on Thursday.
These instructions were taken directly from the amazing people at Software Carpentry.
In general terms you will need a terminal, python3, git and jupyter. If you know what all these mean you probably do not need to read these instructions.
👋 If you get stuck with these instructions please create an issue here.
- Download the Git for Windows installer.
- Run the installer and follow the steps bellow:
- Click on "Next".
- Click on "Next".
- Keep "Use Git from the Windows Command Prompt" selected and click on "Next". If you forgot to do this programs that you need for the workshop will not work properly. If this happens rerun the installer and select the appropriate option.
- Click on "Next".
- Keep "Checkout Windows-style, commit Unix-style line endings" selected and click on "Next".
- Keep "Use Windows' default console window" selected and click on "Next".
- Click on "Install".
- Click on "Finish".
- If your "HOME" environment variable is not set (or you don't know what this is):
- Open command prompt (Open Start Menu then type cmd and press [Enter])
1.Type the following line into the command prompt window exactly as shown:
setx HOME "%USERPROFILE%"
- Press [Enter], you should see SUCCESS: Specified value was saved.
- Quit command prompt by typing exit then pressing [Enter]
- Open command prompt (Open Start Menu then type cmd and press [Enter])
1.Type the following line into the command prompt window exactly as shown:
This will provide you with both Git and Bash in the Git Bash program.
Nothing to do here, you already installed it as part of the bash
step.
- Open http://continuum.io/downloads with your web browser.
- Download the Python 3 installer for Windows.
- Install Python 3 using all of the defaults for installation except make sure to check Make Anaconda the default Python.
The default shell in all versions of Mac OS X is Bash, so no need to install anything. You access Bash from the Terminal (found in /Applications/Utilities). See the Git installation video tutorial for an example on how to open the Terminal. You may want to keep Terminal in your dock for this workshop.
For OS X 10.9 and higher, install Git for Mac by downloading and running the most recent "mavericks" installer from this list. After installing Git, there will not be anything in your /Applications folder, as Git is a command line program. For older versions of OS X (10.5-10.8) use the most recent available installer labelled "snow-leopard" available here.
- Open http://continuum.io/downloads with your web browser.
- Download the Python 3 installer for OS X.
- Install Python 3 using all of the defaults for installation.
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.
If Git is not already available on your machine you can try to install it via your distro's package manager. For Debian/Ubuntu run sudo apt-get install git
and for Fedora run sudo yum install git
.
- Open http://continuum.io/downloads with your web browser.
- Download the Python 3 installer for Linux.
- Install Python 3 using all of the defaults for installation.