Graphviz installation Ubuntu 14.04

后端 未结 1 1769
慢半拍i
慢半拍i 2021-02-05 09:16

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


        
相关标签:
1条回答
  • 2021-02-05 10:05

    This worked for me on a 64-bit machine.

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

    deb http://security.ubuntu.com/ubuntu lucid-security main 
    deb http://cz.archive.ubuntu.com/ubuntu 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:

    https://www.kubuntuforums.net/showthread.php?61037-package-graphviz-installation-appears-not-to-work

    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.

    0 讨论(0)
提交回复
热议问题