There is a package on the official Debian repository for the unstable (``sid``) and testing (``bookworm``) releases, called [``python3-graph-tool``](https://packages.debian.org/sid/python3-graph-tool). If using any of these releases, it's enough to do
There is a package on the official Debian repository for the unstable (``sid``) and testing (``bookworm``) releases, called [``python3-graph-tool``](https://packages.debian.org/sid/python3-graph-tool). If using any of these releases, it's enough to do
```
```
apt-get install python3-graph-tool
apt-get install python3-graph-tool
```
```
The latest versions are typically available only in the [``experimental``](https://wiki.debian.org/DebianExperimental) repository. You can use it by adding the following line to your `/etc/apt/sources.list`,
```
deb https://deb.debian.org/debian experimental main
```
After running `apt-get update`, you can install ``graph-tool`` with:
```
apt -t experimental install python3-graph-tool
```
The ``experimental`` repository can also be typically added to Ubuntu systems.
For other [Debian](http://www.debian.org/) or [Ubuntu](http://www.ubuntu.com/) releases, or if you want to install a newer version that has not yet made it into the official repository, add the following line to your `/etc/apt/sources.list`,
##### Upstream repository
We provide also upstream repository for ``graph-tool``. This is useful for other [Debian](http://www.debian.org/) or [Ubuntu](http://www.ubuntu.com/) releases not covered above, or if you want to install a newer version that has not yet made it into the official repository. To use it, you need to add the following line to your `/etc/apt/sources.list`,
```
```
deb [ arch=amd64 ] https://downloads.skewed.de/apt DISTRIBUTION main
deb https://downloads.skewed.de/apt DISTRIBUTION main
```
```
(you should use instead ``arch=arm64`` above if you are using that architecture), where `DISTRIBUTION` can be any one of
You should then download the public key [`612DEFB798507F25`](https://keys.openpgp.org/search?q=612DEFB798507F25) to verify the packages, with the command:
You should then download the public key [`612DEFB798507F25`](https://keys.openpgp.org/search?q=612DEFB798507F25) to verify the packages, with the command: