anchor.diff:        libarpack2-dev \
         libboost-math-dev \
         libboost-random-dev \
  -      libeigen3-dev \
         libflann-dev \
         libgtest-dev \
         libnifti-dev \
  
positive.code:       software-properties-common \
      && add-apt-repository -y ppa:bzindovic/suitesparse-bugfix-1319687 \
      && apt-get update && apt-get install -y --no-install-recommends \
        gcc \
        g++ \
        make \
  
negative.code:     && rm -rf /usr/src/gtest/build \
      && \
      if [ -z ${VTK_VERSION} ]; then \
        apt-get install -y libeigen3-dev; \
      else \
        EIGEN_SOURCE_DIR=/usr/src/eigen-${EIGEN_VERSION} \
        && mkdir ${EIGEN_SOURCE_DIR} /usr/include/eigen3 \
        && cd ${EIGEN_SOURCE_DIR} \
        && wget -O archive.tar.bz2 http://bitbucket.org/eigen/eigen/get/${EIGEN_VERSION}.tar.bz2 \
        && tar vxjf archive.tar.bz2 --strip 1 \
        && mv signature_of_eigen3_matrix_library Eigen /usr/include/eigen3/ \
        && mv cmake/FindEigen3.cmake /usr/share/cmake-2.8/Modules/ \
        && cd /usr/src \
        && rm -rf ${EIGEN_SOURCE_DIR}; \
      fi \
      && \
      if [ -z ${VTK_VERSION} ]; then \
        apt-get install -y libvtk6-dev; \
      else \
        VTK_RELEASE=`echo ${VTK_VERSION} | sed s/\.[0-9]*$//` \
        && cd /usr/src \
        && wget http://www.vtk.org/files/release/${VTK_RELEASE}/VTK-${VTK_VERSION}.tar.gz \
        && tar -xvzf VTK-${VTK_VERSION}.tar.gz \
  