Update installation instructions authored by Tiago Peixoto's avatar Tiago Peixoto
...@@ -49,9 +49,6 @@ and then start the notebook server ...@@ -49,9 +49,6 @@ and then start the notebook server
(MacOS and Windows users still need to bind the above ports in the VM, as described [here](https://stackoverflow.com/questions/33636925/how-do-i-start-tensorflow-docker-jupyter-notebook)) (MacOS and Windows users still need to bind the above ports in the VM, as described [here](https://stackoverflow.com/questions/33636925/how-do-i-start-tensorflow-docker-jupyter-notebook))
## Modifying the docker image
If you are interested in modifying or extending the image, you can download the [Dockerfile](uploads/0343126a8e259e1578f49d67168c0bda/Dockerfile).
# Native installation # Native installation
Python modules are usually very easy to install, typically requiring nothing more that `pip install <package>` for basically any operating system. For `graph-tool`, however, the situation is different. This is because, in reality, `graph-tool` is a C++ library wrapped in Python, and it has many C++ dependencies such as [Boost](http://www.boost.org/), [CGAL](http://www.cgal.org/) and [expat](http://expat.sourceforge.net/), which are not installable via Python-only package management systems such as [pip](http://www.pip-installer.org/). Because the module lives between the C++ and Python worlds, its installation is done more like a C++ library rather than a typical python module. This means it inherits some of the complexities common of the C++ world that some Python users do not expect. Python modules are usually very easy to install, typically requiring nothing more that `pip install <package>` for basically any operating system. For `graph-tool`, however, the situation is different. This is because, in reality, `graph-tool` is a C++ library wrapped in Python, and it has many C++ dependencies such as [Boost](http://www.boost.org/), [CGAL](http://www.cgal.org/) and [expat](http://expat.sourceforge.net/), which are not installable via Python-only package management systems such as [pip](http://www.pip-installer.org/). Because the module lives between the C++ and Python worlds, its installation is done more like a C++ library rather than a typical python module. This means it inherits some of the complexities common of the C++ world that some Python users do not expect.
...@@ -82,28 +79,15 @@ to install it. ...@@ -82,28 +79,15 @@ to install it.
#### Debian & Ubuntu #### Debian & Ubuntu
For [Debian](http://www.debian.org/), add the following lines to your `/etc/apt/sources.list`, For [Debian](http://www.debian.org/) or [Ubuntu](http://www.ubuntu.com/), add the following lines to your `/etc/apt/sources.list`,
```
deb http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION main
deb-src http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION main
```
where `DISTRIBUTION` can be any one of
```
bullseye, buster, sid
```
For [Ubuntu](http://www.ubuntu.com/), add the following lines
``` ```
deb http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION universe deb http://downloads.skewed.de/apt DISTRIBUTION main
deb-src http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION universe
``` ```
where `DISTRIBUTION` can be any one of where `DISTRIBUTION` can be any one of
``` ```
bionic, eoan bullseye, buster, sid, bionic, eoan
``` ```
You should then download the public key `612DEFB798507F25` to verify the packages, with the command: You should then download the public key `612DEFB798507F25` to verify the packages, with the command:
... ...
......