... | ... | @@ -50,7 +50,7 @@ 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))
|
|
|
|
|
|
## Modifying the docker image
|
|
|
If you are interested in modifying or extending the image, you can download the [Dockerfile](uploads/83c2d24a8bd6dc14e6f023cc8fce3f10/Dockerfile).
|
|
|
If you are interested in modifying or extending the image, you can download the [Dockerfile](uploads/211e01d392316e6e28078b7787aa4119/Dockerfile).
|
|
|
|
|
|
# Native installation
|
|
|
|
... | ... | @@ -65,16 +65,11 @@ Alternatively, `graph-tool` can be installed from source, by [manual compilation |
|
|
|
|
|
#### 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:
|
|
|
[Packages for Arch](https://aur.archlinux.org/packages/python-graph-tool/) are available in the Arch User Repository. You can install it with pikaur:
|
|
|
|
|
|
```
|
|
|
yaourt -S python2-graph-tool
|
|
|
pikaur -S python-graph-tool
|
|
|
```
|
|
|
or
|
|
|
```
|
|
|
yaourt -S python-graph-tool
|
|
|
```
|
|
|
depending on the python version.
|
|
|
|
|
|
#### Gentoo
|
|
|
|
... | ... | @@ -96,7 +91,7 @@ deb-src http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION main |
|
|
where `DISTRIBUTION` can be any one of
|
|
|
|
|
|
```
|
|
|
buster, sid
|
|
|
bullseye, buster, sid
|
|
|
```
|
|
|
|
|
|
For [Ubuntu](http://www.ubuntu.com/), add the following lines
|
... | ... | @@ -108,7 +103,7 @@ deb-src http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION universe |
|
|
where `DISTRIBUTION` can be any one of
|
|
|
|
|
|
```
|
|
|
bionic, cosmic, disco
|
|
|
bionic, eoan
|
|
|
```
|
|
|
|
|
|
You should then download the public key `612DEFB798507F25` to verify the packages, with the command:
|
... | ... | @@ -118,10 +113,6 @@ apt-key adv --keyserver keys.openpgp.org --recv-key 612DEFB798507F25 |
|
|
|
|
|
After running `apt-get update`, the package can be installed with
|
|
|
|
|
|
```
|
|
|
apt-get install python-graph-tool
|
|
|
```
|
|
|
or if you want to use Python 3
|
|
|
```
|
|
|
apt-get install python3-graph-tool
|
|
|
```
|
... | ... | @@ -160,7 +151,7 @@ This mode of installation is particularly useful when a system-wide installation |
|
|
|
|
|
### Windows
|
|
|
|
|
|
Fully native installation on windows is not supported, but two viable options are using [Docker](#installing-using-docker) (see [here](https://docs.docker.com/docker-for-windows/) for instructions), and using the Ubuntu userspace for windows (more information [here](http://blog.dustinkirkland.com/2016/04/howto-ubuntu-on-windows.html) and [here](https://insights.ubuntu.com/2016/04/14/howto-ubuntu-on-windows-2/)), which allows the native Ubuntu packages to be installed as described [above](#debian-ubuntu).
|
|
|
Fully native installation on windows is not supported, but two viable options are either to use [Docker](#installing-using-docker) (see [here](https://docs.docker.com/docker-for-windows/) for instructions), or the Ubuntu userspace for windows (more information [here](http://blog.dustinkirkland.com/2016/04/howto-ubuntu-on-windows.html) and [here](https://insights.ubuntu.com/2016/04/14/howto-ubuntu-on-windows-2/)), which allows the native Ubuntu packages to be installed as described [above](#debian-ubuntu).
|
|
|
|
|
|
---------------------------------------
|
|
|
|
... | ... | @@ -172,7 +163,7 @@ usable on other systems where the below requirements are met. |
|
|
|
|
|
- [x] A C++17 compiler ([GCC]() version 7 or above, or [clang](http://clang.llvm.org/) version 5 or above).
|
|
|
- [x] The [Boost](http://www.boost.org/) libraries, version 1.55 or above.
|
|
|
- [x] [Python](http://www.python.org/) version 2.7, 3 or above.
|
|
|
- [x] [Python](http://www.python.org/) version 3 or above.
|
|
|
- [x] The [expat](http://expat.sourceforge.net/) XML library.
|
|
|
- [x] The [SciPy](http://www.scipy.org/) python module.
|
|
|
- [x] The [Numpy](http://numpy.scipy.org/) python module, version 1.7 or above.
|
... | ... | |