Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 51987  / 3 Years ago, wed, july 14, 2021, 10:19:02

In my ubuntu 12.04, the graphviz is not the latest version(2.29). I need some features available in the latest version of graphviz.
I tried to install the graphviz version 2.29, which requires libgraphviz4(>=2.18).
I anyhow installed libgraphviz4 and installed graphviz 2.29. For that I have to remove packages libcdt4 and libpathplan4.



Now whenever I try to generate graph, I get some problems:
For e.g.:



dot -Kfdp -n -Tpng -o samplePOS.png forcePOS.dot


It says:



dot: error while loading shared libraries: libgvc.so.6: cannot open
shared object file: No such file or directory

neato -Tps -o sample_1.ps sourcedot.gv


It says:



neato: error while loading shared libraries: libgvc.so.6: cannot open
shared object file: No such file or directory


So, I am looking for some ways so that I can run graphviz 2.29 in my ubuntu 12.04.


More From » 12.04

 Answers
4

First a warning for using PPA (mainly unstable)





The below PPA: ppa:dperry/ppa-graphviz-test is an unstable PPA. So, you are given warning.



Use this commands in a terminal to install the unstable 2.29 version of graphviz.



sudo apt-add-repository ppa:dperry/ppa-graphviz-test
sudo apt-get update
sudo apt-get autoremove graphviz
sudo apt-get install graphviz


If you get this error "graphviz : Depends: libgraphviz4 (>= 2.18) but it is not going to be installed", run the following



sudo apt-get remove libcdt4
sudo apt-get remove libpathplan4
sudo apt-get install graphviz

[#35154] Thursday, July 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ularousand

Total Points: 380
Total Questions: 109
Total Answers: 101

Location: England
Member since Tue, Sep 8, 2020
4 Years ago
;