zoukankan      html  css  js  c++  java
  • install graph-tool

    try this if ubuntu version is >= 14.04

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get -y install expat
    sudo apt-get -y install sparsehash
    sudo apt-get -y install gtk+3
    sudo apt-get -y install libboost-all-dev
    sudo apt-get -y install graphviz
    sudo apt-get -y install build-essential
    sudo apt-get -y install libcairo2-dev
    sudo apt-get -y install python-pip
    sudo apt-get -y install python-dev
    sudo apt-get -y install python-matplotlib
    sudo apt-get -y install gfortran libopenblas-dev liblapack-dev
    sudo apt-get -y install libcgal-dev
    sudo pip install numpy
    sudo apt-get -y install python2.7-config
    sudo apt-get -y install python-cairo
    sudo apt-get -y install python-scipy
    echo 'deb http://downloads.skewed.de/apt/trusty trusty universe' | sudo tee -a  /etc/apt/sources.list
    echo 'deb-src http://downloads.skewed.de/apt/trusty trusty universe' | sudo tee -a  /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get -y --force-yes install python-graph-tool

    if there is any lib missing, just go here for download http://packages.ubuntu.com/search?keywords=libblas3&searchon=names

    Otherwise, like ubuntu 12.04, please install it step by step. The following is some tips. 

    sudo dpkg --auto-deconfigure -i liblapack3_3.5.0-2ubuntu1_amd64.deb

    for some errors regarding to sparsehash, just download it from "https://github.com/sparsehash/sparsehash", and install it from source.

    remember to upgrade NumPy to at least 1.7.1

  • 相关阅读:
    【C++】未定义的标识符“_TCHAR*”
    【C++】编写动态库DLL
    【C++】使用SQLite步骤及示例
    【VS】如何查询该项目是什么样工程类型
    新概念英语第一册单词
    地道情景表达一
    日常学习经典口语一
    全国省市区sql脚本
    关于Object.defineProperty
    响应式原理
  • 原文地址:https://www.cnblogs.com/yangzhang/p/5012601.html
Copyright © 2011-2022 走看看