dot

How To Install Dot In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Dot In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

dot

A command-line tool to produce layered drawings of directed graphs.

Maintainer: Laszlo Boszormenyi (GCS)



Section: graphics

Install dot

  • Debian apt-get install graphviz Click to copy
  • Ubuntu apt-get install graphviz Click to copy
  • Alpine OS apk add graphviz Click to copy
  • Arch Linux pacman -S graphviz Click to copy
  • Kali Linux apt-get install graphviz Click to copy
  • CentOS yum install graphviz Click to copy
  • Fedora dnf install graphviz Click to copy
  • Raspbian apt-get install graphviz Click to copy
  • macOS brew install graphviz Click to copy

A command-line tool to produce layered drawings of directed graphs.

How to use dot?

Below are few example commands for dot that you can use in the terminal.

Render an image file and determine output filename based on input filename and selected format:
dot -Tpng -O path/to/file.dotClick to copy
Create an SVG from DOT file:
dot -Tsvg -o path/to/out_file.svg path/to/file.dotClick to copy
Installing dot command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of dot 2023 package in your OS.