Graphviz installation Ubuntu 14.04

I am trying to create a dot file using JDD project. It requires installation of Graphviz. I tried to install it using console:

sudo apt-get install graphviz 

In that case, although the installation seemed successful, the program did not produce me any output. Therefore I tried another approach by downloading the top most .deb file but I got the error:

"Dependency is not satisfiable: libgraphviz4 (>=2.18)"

Does anyone know how I can make it work?

1 Answer

This worked for me on a 64-bit machine.

Try adding these lines to your /etc/apt/sources.list file:

deb lucid-security main deb lucid main 

Then update:

sudo apt-get update 

Now you should be able to install by double clicking the .deb file, or using dpkg, etc, which ever way you prefer.

NOTE: I think your first attempt might've actually worked, though. The issue is that the command installs a group of tools, none named 'graphviz'. I found this information here:

You will need to install a gui/visualization tool to open .gv files. xdot (sudo apt install xdot) is such a tool and can also be located on the Ubuntu software center.

Hope this helps.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like