Use Graphviz below ubuntu16.04

Source: Internet
Author: User
Tags unsupported

It's not recommended to download Deb, because it looks like a lot of Deb is for Debian, and many of the dependencies are in the source of Debian and are not very well handled.

or direct Apt-get install Graphviz is better. The list of sources you use is:

# deb Cdrom:[ubuntu 16.04 LTS _xenial xerus_-Release AMD64 (20160420.1)]/xenial main restricted


# Http://help.ubuntu.com/community/UpgradeNotes to upgrade
# 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 be entirely unsupported by the Ubuntu
# # Team, and May is under a free licence. Please satisfy yourself as to
# # Your rights to use the software. Also, please note this software in
# # Universe won't receive any review or updates to 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 be entirely unsupported by the Ubuntu
# # Team, and May is under a free licence. Please satisfy yourself as to
# # Your rights to use the software. Also, please note this software in
# # Multiverse won't 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-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 this software in Backports won't 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 isn't part of Ubuntu, but are 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



And then for example:



Graph Example1 {
Server1--Server2
Server2--Server3
Server3--Server1
}


Save As Example.dot file

Then enter the path where the file is located:


Dot-tpng Example1.dot-o Test.png




PNG refers to the type

The types provided by Graphviz are as follows:

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




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.