GraphViz 安装失败

GraphViz Install Fail

我正在尝试在 ubuntu 服务器上安装 graphviz 但出现以下错误..

sudo pear install Image_GraphViz

downloading Image_GraphViz-1.3.0.tgz ...

Starting to download Image_GraphViz-1.3.0.tgz (16,706 bytes) ......done: 16,706 bytes

could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Image_GraphViz-1.3.0.tgz"

Download of "pear/Image_GraphViz" succeeded, but it is not a valid package archive

Error: cannot download "pear/Image_GraphViz"

Download failed

install failed

有什么建议吗?下面的一些信息以防万一...


PEAR Version: 1.9.4
PHP Version: 5.5.9-1ubuntu4.9
Zend Engine Version: 2.5.0
Running on: Linux xServer 3.16.0-34-generic #47~14.04.1-Ubuntu SMP Fri Apr 10 17:49:51 UTC 2015 i686

这可能是 http://cweiske.de/tagebuch/pear-php-5.5.htm

中描述的问题

尝试使用以下方法修复它:

$ pear upgrade -Z Archive_Tar
$ pear install image_graphviz

如果这不起作用,请按照博客中的说明进行操作 post。