Problems With Graph tool install

HI,

I was a user of Networkx but my graphs have surpassed its capabilities. I
am running Ubuntu 13.04 and I am trying to install graph-tool.

I have the proper versions of GCC, Boost, Python, expat, scipy, numpy,
CGAL, sparsehash, cairomn, pycairo, matplotlib and graphviz.

I should be able to run on the command line sudo apt-get install
python-graph-tool or sudo apt-get install graph-tool

Neither work and are throwing the error E: Unable to locate package
python-graph-tool and E: Unable to locate package graph-tool

So I tried downloading the tar ball and extracting and running ./configure
and that through the error ...

configure: error:
  Could not link test program to Python. Maybe the main Python library has
been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"

attachment.html (1.65 KB)

Hi John,

HI,

I was a user of Networkx but my graphs have surpassed its capabilities. I am running Ubuntu 13.04 and I am trying to install graph-tool.

I have the proper versions of GCC, Boost, Python, expat, scipy, numpy, CGAL, sparsehash, cairomn, pycairo, matplotlib and graphviz.

I should be able to run on the command line sudo apt-get install python-graph-tool or sudo apt-get install graph-tool

Neither work and are throwing the error E: Unable to locate package python-graph-tool and E: Unable to locate package graph-tool

graph-tool is not part of the official Ubuntu repositories... In order
to install it, you need to add graph-tool to your repository list. As it
is explained in the download page, you need to add the following lines to
your /etc/apt/sources.list

    deb http://downloads.skewed.de/apt/raring raring universe
    deb-src http://downloads.skewed.de/apt/raring raring universe

After this you need to run 'sudo apt-get update'. You can finally install it with:

    sudo apt-get install python-graph-tool

You will receive a warning that the package is unverified. You can
either ignore this, and install anyway, or you can download the
following pgp key:

    http://pgp.skewed.de:11371/pks/lookup?op=get&search=0x04DC461EF36FE35D

and save to some file, say "gt-key". You can then add the key with

    apt-key add gt-key

and the package will be verified the next time you try to install it.

It would be nicer to have it included in the standard repositories,
since the installation would be simpler, but this is not really up to
me...

I hope this helps,
Tiago

Thank You, I had never added something to the repository and did not know
what that meant. Everything worked and I am coding with graph-tool many
thanks

John

attachment.html (178 Bytes)