Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save keesterbrugge/f73affe1606b676d1545a8f38611eea6 to your computer and use it in GitHub Desktop.
Save keesterbrugge/f73affe1606b676d1545a8f38611eea6 to your computer and use it in GitHub Desktop.
Installation of graph-tool from source

INSTALLATION OF GRAPH-TOOL FROM SOURCE

System
Requirements as given under - http://graph-tool.skewed.de/download
  1. GCC, version 4.8 or above (version 4.9 is recommended). For MacOS X, the clang compiler is required.
    • sudo apt-get install gcc-4.8
  2. The Boost libraries, version 1.54 or above.
  3. Python version 2.7 or 3 and above.
    • bash Anaconda-2.1.0-Linux-x86_64.sh
  4. The expat library.
  5. The SciPy python module.
    • Included in Anaconda's Python distribution (conda list | grep numpy)
  6. The Numpy python module.
    • Included in Anaconda's Python distribution (conda list | grep scipy)
  7. The CGAL C++ geometry library, version 3.5 or above.
  8. The sparsehash template library (optional, but recommended).
  9. The cairomm, pycairo and matplotlib libraries, used for graph drawing (optional).
  10. The Graphviz packaged for graph drawing, with the python bindings enabled (optional, deprecated).
    • I am not installing this as it is optional.
Download graph-tool

DONE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment