要求:
python 2.7以上
https://www.python.org/ftp/python/
EG:
wget --no-check-certificate https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
graphviz:
yum install graphviz
依赖库:
Downloading Packages:
(1/10): gd-2.0.35-11.el6.x86_64.rpm | 142 kB 00:00
(2/10): graphviz-2.26.0-10.el6.x86_64.rpm | 1.0 MB 00:00
(3/10): libXaw-1.0.11-2.el6.x86_64.rpm | 178 kB 00:00
(4/10): libXfont-1.5.1-2.el6.x86_64.rpm | 145 kB 00:00
(5/10): libXmu-1.1.1-2.el6.x86_64.rpm | 66 kB 00:00
(6/10): libXpm-3.5.10-2.el6.x86_64.rpm | 51 kB 00:00
(7/10): libXt-1.1.4-6.1.el6.x86_64.rpm | 165 kB 00:00
(8/10): libfontenc-1.1.2-3.el6.x86_64.rpm | 29 kB 00:00
(9/10): urw-fonts-2.4-11.el6.noarch.rpm | 3.1 MB 00:03
(10/10): xorg-x11-font-utils-7.2-11.el6.x86_64.rpm | 75 kB 00:00
--------------------------------------------------------------------------------
手动安装
下载地址:
http://www.graphviz.org/pub/graphviz/stable/redhat/ YUM 仓库:
http://www.graphviz.org/graphviz-rhel.repo graphviz-rhel.repo: [graphviz-stable] name=Graphviz - RHEL $releasever - $basearch baseurl=http://www.graphviz.org/pub/graphviz/stable/redhat/el$releasever/$basearch/os/ enabled=1 gpgcheck=0 skip_if_unavailable=1 [graphviz-stable-source] name=Graphviz - RHEL $releasever - Source baseurl=http://www.graphviz.org/pub/graphviz/stable/SRPMS/ enabled=0 gpgcheck=0 skip_if_unavailable=1 [graphviz-stable-debuginfo] name=Graphviz - RHEL - Debug baseurl=http://www.graphviz.org/pub/graphviz/stable/redhat/el$releasever/$basearch/debug/ enabled=0 gpgcheck=0 skip_if_unavailable=1 [graphviz-snapshot] name=Graphviz - RHEL $releasever - $basearch baseurl=http://www.graphviz.org/pub/graphviz/development/redhat/el$releasever/$basearch/os/ enabled=0 gpgcheck=0 skip_if_unavailable=1 [graphviz-snapshot-source] name=Graphviz - RHEL $releasever - Source baseurl=http://www.graphviz.org/pub/graphviz/development/SRPMS/ enabled=0 gpgcheck=0 skip_if_unavailable=1 [graphviz-snapshot-debuginfo] name=Graphviz - RHEL - Debug baseurl=http://www.graphviz.org/pub/graphviz/development/redhat/el$releasever/$basearch/debug/ enabled=0 gpgcheck=0 skip_if_unavailable=1
https://github.com/vonnyfly/kernel_visualization
http://bbs.chinaunix.net/thread-4187998-1-1.html
http://vonnyfly.github.io/archives/
http://bbs.chinaunix.net/home.php?mod=space&uid=25104230&do=thread&type=reply&view=me&from=space