帮酷LOGO
0 0 评论
  • 显示原文与译文双语对照的内容
文章标签:JAVA  Oracle  Gephi  installing  Java 8  

问题:

我最近在 Having 上安装gephi时遇到一些问题。 以下是我的知识库中的内容:


http://ppa.launchpad.net/rockclimb/gephi-testing/ubuntu trusty main


http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main



当我


sudo apt-get install gephi



我知道


The following packages have unmet dependencies:


 gephi : Depends: libgoogle-collections-java but it is not installable



当我试图寻找包时,它表示 repo 不再被更新。 然后,我在这里找到了一个软件包的旧副本:

https://packages.debian.org/source/wheezy/libgoogle-collections-java

但由于某些原因,我尝试使用以下方法安装它: tar -zxvf'tarball'

似乎没有发生什么。 有谁知道我在找什么?

编辑:出现初始屏幕,gehpi似乎试图初始化。 然而它似乎失败了,在一段时间后停止。


回答 1:

解决这里问题的方法是:


sudo gedit/etc/environment



并添加:


JAVA_HOME="/usr/lib/jvm/java-7-oracle/jre/bin/java"



然后正常运行脚本

 
./bin/gephi



 

回答 2:

( 根据我在 https://gist.github.com/dcht00/432caaf3e6c50a2202b8的要点复制)

这在可信 14.04上为我做了它:


# Edit the sources file and add this to end:


# deb http://ppa.launchpad.net/rockclimb/gephi-daily/ubuntu precise main


sudo joe/etc/apt/sources.list



# You can't just install gephi because it's missing libgoogle-collections-java


# And that one's not packaged with Ubuntu anymore as of Trusty at least



# Download all three files to a temp folder:


# https://packages.debian.org/source/wheezy/libgoogle-collections-java



# Attempt to extract a source package


dpkg-source -x *.dsc



# DOES NOT WORK, NEED KEYS FIRST


gpg --keyserver keyserver.ubuntu.com --recv-keys 974B3E96



# OK, again...


dpkg-source -x *.dsc



# Now try to build package.


cd libgoogle-collections-java-1.0/


dpkg-buildpackage -us -uc



# Fail, needs dependencies


apt-get install maven-repo-helper maven-ant-helper cdbs


dpkg-buildpackage -us -uc



# This builds an actual. deb in folder 上面.


cd.. 


sudo dpkg -i libgoogle-collections-java_1.0-2_all.deb



# Now install gephi.


sudo apt-get update; sudo apt-get install gephi



# Done




回答 3:

我在 14.04信任中遇到类似的问题,但没有任何建议适用于我。 我最终得到了这样的效果:


sudo gedit/etc/apt/sources.list



并添加以下两行:


deb http://ppa.launchpad.net/rockclimb/gephi-daily/ubuntu precise main


deb http://us.archive.ubuntu.com/ubuntu precise main universe



然后执行以下操作:


sudo apt-get install libgoogle-collections-java gephi






文章标签:JAVA  Oracle  installing  Java 8  Gephi  

Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语