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" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ I know that the Python library should not be the issue as I typed in the path and to no avail. If anyone sees anything obvious that I am missing or not doing please respond. Every other program I have ever wanted to install has been as easy as sudo apt-get install programname Thanks John
Hi John, On 07/19/2013 10:46 PM, hirdt.john@gmail.com wrote:
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 -- Tiago de Paula Peixoto <tiago@skewed.de>
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
participants (2)
-
hirdt.john@gmail.com -
Tiago de Paula Peixoto