Skip to content

Instantly share code, notes, and snippets.

@dcht00
Last active September 12, 2021 17:39
Show Gist options
  • Save dcht00/432caaf3e6c50a2202b8 to your computer and use it in GitHub Desktop.
Save dcht00/432caaf3e6c50a2202b8 to your computer and use it in GitHub Desktop.
Installing Gephi on Ubuntu 14.04 (Trusty)
#
# 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
@PilotGtec
Copy link

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!

@ritwikd
Copy link

ritwikd commented Jun 24, 2015

This is confirmed working, but I did have to do what DeliciousHair did in regards to doing

sudo apt-get install libjsr-305

@dcht00
Copy link
Author

dcht00 commented Jul 2, 2015

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