Linux users should be able to use their package manager to install all of this software (if you’re using
Linux, we assume you won’t have any trouble with these requirements).
However note that if you are running an older
Linux distribution you may get older versions with different look and features.
Linux distribution is recommended.
Python via package manager¶
Recent versions of
Ubuntu come with mostly up to date versions of all needed packages.
The version of
IPython might be slightly out of date.
Advanced users may wish to upgrade this using
pip or a manual install.
Ubuntu you should ensure that the following packages are installed using
Older distributions may have outdated versions of specific packages.
Linux distributions most likely also contain the needed
Python packages but again they may also be outdated.
Python via Anaconda¶
We recommend you use Anaconda, a complete independent scientific python distribution.
Download Anaconda for Linux with your web browser, choosing the latest version. Open a terminal window, go to the place where the file was downloaded and type:
and then press
The name of the file you just downloaded should appear.
Follow the text prompts ensuring that you:
agree to the licence
PATH(this makes the
Anacondadistribution the default
You can test the installation by opening a new terminal and checking that:
shows a path where you installed
Python via Enthought Canopy¶
Alternatively you may install a complete independent scientific python distribution.
One of these is
Enthought Canopy Python distribution exists in two different versions.
A basic free version with a limited number of packages (
Canopy Express) and a non free full version.
The full version can be obtained free of charge for academic use.
You may then use your Enthought user account to sign into the installed
Canopy application and activate the full academic version.
Canopy comes with a package manager from where it is possible to install and update a large number of python packages.
The packages installed by default should cover our needs.
git is not already available on your machine you can try to install it via your distribution package manager (e.g.
yum), for example:
sudo apt-get install git
You’ll know it has worked when you can get the Git version by running
which should show that you have a recent copy of Git. If your version is more than 18 months old, please update it.
You will need to set at least your email address and name, for which you can follow the Your Identity section of First Time Git Setup.
You can check that they have been set correctly by running
git config user.name and
git config user.email.
For the Git part of the course, you will need access to GitHub. You will need to
Many different text editors suitable for programming are available. If you don’t already have a favourite, you could look at one of these:
Regardless of which editor you have chosen you should configure
git to use it.
Executing something like this in a terminal should work:
git config --global core.editor NameofYourEditorHere
The default shell is usually
bash but if not you can get to
bash by opening a terminal and typing