Skip to content

Installing from binary packages

Oliver Beckstein edited this page Mar 13, 2016 · 15 revisions

For some platforms, MDAnalysis can be installed directly in pre-compiled form. (If no pre-compiled packages are available, please see installing MDAnalysis from source.)

Anaconda

Note: This currently experimental, feedback welcome (at PR #751)

  • Experimental, since 0.14.0 (see issue #608 with PR #751).
  • Currently only Linux 64 bit supported.
  • Currently only Python 2.

Installing the anaconda2 distribution for the first time

First install anaconda (Python 2 for right now) by downloading the Python 2.7 Linux 64-bit anaconda2 installer and running the installer

bash Anaconda2-2.5.0-Linux-x86_64.sh

(adjust the version number according to the name of the downloaded installer). Unless you know better, have the installer "prepend the Anaconda2 install location to PATH in your ~/.bashrc" (answer yes). See conda test-drive for an introduction to using conda.

Check that your conda environment is working:

conda --version

should give something like

conda 3.19.1

perhaps with a higher version number.

Update everything to the latest version (answer y when asked)

conda update conda

Installing MDAnalysis with conda

Add the MDAnalysis anaconda channel (only has to be done once):

conda config --add channels MDAnalysis

Install MDAnalysis

conda install mdanalysis

Distributions

Some third-party repositories might have binary packages of MDAnalysis but we are not currently making any binary packages available.

Clone this wiki locally