You need to install this software in order to use the
Directions adapted from software tools for Software Carpentry workshops, please see license details below.
Setup
To participate in this course, you will need access to the software described below. In addition, you will need an up-to-date web browser.
We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.
The Bash Shell
Bash is a commonly-used shell that gives you the power to do simple tasks more quickly.
Windows
Video Tutorial- 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
"Next".on - 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]) - 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
This will provide you with both Git and Bash in the Git Bash program.
Mac OS X
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.
Linux
The default shell is usually Bash, but if your machine is set up differently you can run it by opening a terminal and bash
Python
Python is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.
Regardless of how you choose to install it, please make sure you install Python version 3.
We will teach Python using the
Windows
Video Tutorial- 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 ("Register Anaconda as my default Python 3").
>python
>jupyter notebook
Mac OS X
Video Tutorial- 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.
Linux
- Open http://continuum.io/downloads with your web browser.
- Download the Python 3 installer for Linux.
(Installation requires using the shell. If you aren't comfortable doing the installation yourself stop here and request help at the workshop.) - Open a terminal window.
Type bash Anaconda2-
and thenpress tab. The name of the file you just downloaded should appear. If it does not, navigate to the folder where you downloaded the file, for examplewith: cd Downloads
Then , try again.- Press enter. You will follow the text-only prompts. To move through the text, press the space key.
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 yourPATH
(this makes the Anaconda distribution the default Python). - Close the terminal window.
Installation instructions licensed under Creative Commons Attribution license were adapted from Software Carpentry