dot doesn't recognize any formats
5,147
Found it. Issuing just a bare dot
command explains the problem:
$ dot
There is no layout engine support for "dot"
Perhaps "dot -c" needs to be run (with installer's privileges) to register the plugins?
So, I did
sudo dot -c
which, judging from the output of just dot -c
, writes a configuration file to /usr/lib/graphviz/config6
. Clearly a bug in the package's install script.
Related videos on Youtube
Author by
Fred Foo
Updated on September 18, 2022Comments
-
Fred Foo almost 2 years
My installation of graphviz 2.36.0-0ubuntu3 doesn't seem to support any output formats:
$ dot -Tpng Format: "png" not recognized. Use one of: $ dot -Tsvg Format: "svg" not recognized. Use one of:
I.o.w., the list of output formats is simply empty. Do I need to install some extra packages? The package doesn't recommend or suggest anything that looks like support for additional formats.
-
Olumide over 7 yearsMy
config6
file wasn't empty so I renamed it and ransudo dot -c
again and this fixed the problem. Perhaps theconfig6
was corrupt?