Note that although graph-tool is a Python library, it is implemented in C++, and thus has C++ dependencies such as [Boost](http://www.boost.org/), [CGAL](http://www.cgal.org/) and [expat](http://expat.sourceforge.net/), which are not instalable via Python-only package management systems such as [pip](http://www.pip-installer.org/).
# Pre-compiled Packages
# GNU/Linux
## Arch
[Packages for Arch](https://aur.archlinux.org/packages/python-graph-tool/) are available in the Arch User Repository. You can install it with yaourt:
```
yaourt -S python2-graph-tool
```
or
```
yaourt -S python-graph-tool
```
depending on the python version.
## Gentoo
An ebuild for graph-tool is included in the default [Gentoo](https://www.gentoo.org/) repository. Just do
```
emerge graph-tool
```
to install it.
## Debian & Ubuntu
For [Debian](http://www.debian.org/), add the following lines to your `/etc/apt/sources.list`,
...
...
@@ -53,31 +76,10 @@ sub 4096R/1A7ECE03 2013-10-17 [expires: 2018-10-16]
sub 4096R/23F08CAF 2013-10-17 [expires: 2018-10-16]
```
## Arch
[Packages for Arch](https://aur.archlinux.org/packages/python-graph-tool/) are available in the Arch User Repository. You can install it with yaourt:
```
yaourt -S python2-graph-tool
```
or
```
yaourt -S python-graph-tool
```
depending on the python version.
## Gentoo
An ebuild for graph-tool is included in the default [Gentoo](https://www.gentoo.org/) repository. Just do
```
emerge graph-tool
```
to install it.
<aname="macos"></a>
## MacOS X
### Macports
# MacOS X
## Macports
A portfile is available for installation in MacOS X systems with [Macports](http://www.macports.org/). It is included in the [standard macports list](http://www.macports.org/ports.php?by=name&substr=graph-tool). Just run the following command to install it:
...
...
@@ -85,7 +87,7 @@ A portfile is available for installation in MacOS X systems with [Macports](http
port install py-graph-tool
```
### Homebrew
## Homebrew
With [Homebrew](http://brew.sh/) the installation is also straightforward, since a formula for it is included in the "science" list: