Solution to install "graph_tool" on Ubuntu 16.04
As mentioned before #2, installing "graph_tool" may be very troublesome.
Here is my solution to install "graph_tool" on my ubuntu 16.04, hoping can be helpful to those still using ubuntu 16.04 as the server.
We could go to the Official Installation Guidance for debian&ubuntu, but only ubuntu 18.04(bionic), ubuntu 18.10(cosmic) and ubuntu 19.04(disco) are listed blow the instructions.
I tried to open the source url https://downloads.skewed.de/apt/ in my browser, and found there was still a folder "xenial" which is for ubuntu 16.04.
So, I just replace the DISTRIBUTION with xenial in the following lines, and added them to /etc/apt/sources.list.
deb http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION universe
deb-src http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION universe
Then follow the official guidance, I finally installed it successfully.
Note: The code may encounter a “Error”when import cairo, so the graph drawing will not work. But it can work normally if we don't use it for visualization.
@ygjia Well done! Thanks!
As mentioned before #2, installing "graph_tool" may be very troublesome.
Here is my solution to install "graph_tool" on my ubuntu 16.04, hoping can be helpful to those still using ubuntu 16.04 as the server.
We could go to the Official Installation Guidance for debian&ubuntu, but only ubuntu 18.04(bionic), ubuntu 18.10(cosmic) and ubuntu 19.04(disco) are listed blow the instructions.
I tried to open the source url https://downloads.skewed.de/apt/ in my browser, and found there was still a folder "xenial" which is for ubuntu 16.04.
So, I just replace the
DISTRIBUTIONwithxenialin the following lines, and added them to/etc/apt/sources.list.deb http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION universe deb-src http://downloads.skewed.de/apt/DISTRIBUTION DISTRIBUTION universeThen follow the official guidance, I finally installed it successfully.
Note: The code may encounter a “Error”when import
cairo, so the graph drawing will not work. But it can work normally if we don't use it for visualization.
it seems donot work now.