Last active
September 12, 2021 17:39
-
-
Save dcht00/432caaf3e6c50a2202b8 to your computer and use it in GitHub Desktop.
Installing Gephi on Ubuntu 14.04 (Trusty)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# INSTALLING GEPHI ON UBUNTU TRUSTY | |
# | |
# 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 above. | |
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 |
key works fine, simply need to use it:
gpg --no-default-keyring -a --export 974B3E96 | gpg --no-default-keyring --keyring ~/.gnupg/trustedkeys.gpg --import -
However, FWIW, I also needed to do sudo apt-get install libjsr305-java default-jdk
There was an issue in running this command
sudo dpkg -i libgoogle-collections-java_1.0-2_all.deb
The error reads as follows:
dpkg: error processing archive libgoogle-collections-java_1.0-2_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
libgoogle-collections-java_1.0-2_all.deb
Everything was going okay up to that point. Any idea on a work around? Thanks!
This is confirmed working, but I did have to do what DeliciousHair did in regards to doing
sudo apt-get install libjsr-305
Happy to see it used. Please let me know if you've tried with this on 14.10 (Utopic Unicorn) or 15.04 (Vivid Vervet) !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The key is no longer working. It fails to verify the signature