不推荐下载deb,因为找到的deb貌似较多是给debian用的,很多依赖包都是debian的源里面的就不太好处理了。

还是直接apt-get install graphviz比较好。自己使用的源列表是:

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

#############################following are for trusty#############################3
deb http://security.ubuntu.com/ubuntu trusty-security main

然后举例:

graph example1 {
Server1 -- Server2
Server2 -- Server3
Server3 -- Server1
}

保存为example.dot 文件

然后在文件所在路径下输入:

dot -Tpng example1.dot -o test.png

png指的是类型

graphviz提供的类型如下:

canon

cmap

cmapx

cmapx_np

dot

eps

fig

gd

gd2

gif

gv

imap

imap_np

ismap

jpe

jpeg

jpg

pdf

pic

plain

plain-ext

png

pov

ps

ps2

svg

svgz

tk

vml

vmlz

vrml

wbmp

x11

xdot

xdot1.2

xdot1.4

xlib

ubuntu16.04下面使用graphviz相关推荐

  1. Ubuntu16.04+caffe+digits安装配置

    注:本文主要介绍的是如何在ubuntu16.04系统下安装caffe以及可视化工具digits,至于cuda和cudnn的安装配置在我前一篇文章http://blog.csdn.net/cdwxx12 ...

  2. ubuntu16.04+caffe+GTX1060+DIGITS安装方法

    鉴于本人安装caffe-gpu版的过程中遇到很多坑,从自己探索开始装一次要半个多月,然后一个星期,再到两三天,现在从系统开始到digits装好一个多小时就可以搞定,故而写下这份心得教程,供有缘人享用, ...

  3. Ubuntu16.04 安装OMnet++4.6(5.4也可)

    Ubuntu16.04 安装OMnet++5.4 or 4.6 1. 准备工作 下载安装包 下载必要环境依赖 2. 开始安装 文件解压 omnet++环境变量配置 基本配置添加 配置和构建omnet+ ...

  4. 成功安装ubuntu16.04+cuda9.0+cuDNN7.0.5+caffe+digits(附错误汇总)

    成功安装ubuntu16.04+cuda9.0+cuDNN7.0.5+caffe+digits(附错误汇总) 本机硬件:双核i7 内存8G 显卡GTX070(不好意思,比较水) 安装顺序:依赖包--& ...

  5. Nao机器人——ubuntu16.04下使用BHuman

    分享个人比赛过程中使用BHuman的心得.欢迎批评指正. 一.软件准备 1.安装VMwareWorkStation并安装Ubuntu16.04 64位 参考链接:https://blog.csdn.n ...

  6. Ubuntu16.04重装系统

    Ubuntu16.04重装系统 安装显卡驱动 第一步 禁用nouveau 第二步 下载驱动 第三步 进入命令行模式,关闭lightdm 第四步 安装显卡驱动 第五步 查看Nivida 设置更新与源地址 ...

  7. ubuntu16.04下NVIDIA+CUDA+CUDNN+TensorFlow+Pytorch+Opencv等深度学习环境配置

    1.Ubuntu16.04配置 1.1 更改Ubuntu源 所谓源,可以理解为Ubuntu从何处下载软件.默认的源是server for china,个人测试这是从美国的服务器下载软件进行安装的,为了 ...

  8. ubuntu16.04下gpu版caffe2安装

    http://http://blog.csdn.net/meccaendless/article/de由于之前已经配置好了ubuntu16.04+cuda9.1+cudnn7.04环境,参考我的这篇博 ...

  9. Ubuntu16.04 配置记录(持续更新)

    Ubuntu16.04 配置记录 1.安装中文输入法 https://www.cnblogs.com/darklights/p/7722861.html 2.修改终端命令行路径长度 https://b ...

最新文章

  1. 从特斯拉Autopilot看车载计算平台技术挑战与发展趋势
  2. Spring官宣新家族成员:Spring Authorization Server!
  3. 我把帮带份饭的信息错发给导师后.......
  4. 三框架:使用数据源dbcp注意
  5. mongorepository查询条件_MongoRepository实现增删改查和复杂查询【支持的查询类型】...
  6. redux中间件之redux-thunk
  7. 列表(list)和集合(set)
  8. Sun Virtualbox说明文件的Bug
  9. 微信JS-SDK项目学习 --实现分享样式控制thinkphp
  10. pr下载与安装(含安装包百度网盘链接)
  11. L2TP/IPSec一键安装脚本
  12. Node.js菜鸟教程 思维导图
  13. 面试Vue架构师,封装一个万能表单生成器
  14. 互联网和物联网的区别,你有必要了解一下
  15. thinkphp5项目--个人博客(五)
  16. HTML期末大学生网页设计作业--官网仿qq音乐(1页)
  17. 飞马(PEGASUS):Google最新的摘要汇总模型
  18. 在Centos/Linux系统下使用Phalcon开发PHP项目
  19. Centos 7 x64 搭建文件服务器HFS
  20. 有符号数与无符号数的运算

热门文章

  1. Windows环境下文件的彻底删除与恢复,推荐几个工具(整理)
  2. POJ 2808 校门外的树
  3. 遇到的JDBC的一个问题
  4. JavaScript- 正则表达式匹配汉字
  5. axios在IE下的兼容性处理
  6. curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
  7. js常用reduce方法
  8. 使用Slf4j查看日志输出
  9. 点云插值:三维平面参数确定-不共线三点的平面方程
  10. java junit autowired_写Junit测试时用Autowired注入的类实例始终为空怎么解?