前言
创作开始时间:2021年4月8日20:44:59
如题。
正文
主要参考官网:
https://gephi.org/users/download/
1)我的环境:
- Ubuntu 14
- JDK 7、8、9、11都有(gephi的话,有jre 7或者8就行)
2)在 https://gephi.org/users/download/ 中找到自己想要的下载地址,下载下来:
wget https://github.com/gephi/gephi/releases/download/v0.9.2/gephi-0.9.2-linux.tar.gz
3)解压:
tar xvf gephi-0.9.2-linux.tar.gz
4)运行:
直接进入解压后的文件夹,gephi-0.9.2/bin/
在终端运行:
./gephi
注意:不能用jdk7,这个版本的gephi已经不支持jdk7了。最好用jdk8.因为我一开始用jdk 11 的时候,这个gephi显示一直在initialize。很坑的(不过右下角有提示,之后我就改成jdk8了)。
(感慨:文档没跟上开发。可惜可惜。这就是软件开发的常态。)
5)具体界面如下:
使用感受
感觉不是特别好用。字体设置,edge设置这些不友好,在屏幕里面几乎看不见。太隐身了。。。
后续有机会再细细研究吧。
错误的尝试
不小心参考了:
运行了:sudo apt-add-repository ppa:rockclimb/gephi-daily
结果在apt-get update的时候报错:
W: Failed to fetch http://ppa.launchpad.net/rockclimb/gephi-daily/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/rockclimb/gephi-daily/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
略坑的。要还原原来的样子,需要移除刚刚添加的PPA源:
sudo add-apt-repository -r ppa:rockclimb/gephi-daily
sudo apt-get update
即可。
小结
创作结束时间:2021年4月8日22:12:06
参考文献
- 在Ubuntu中添加和删除PPA的软件源 https://blog.csdn.net/lu_embedded/article/details/55803500