Skip to content

Instantly share code, notes, and snippets.

@stackdump
Forked from dcht00/gephi_install_1404.sh
Last active August 29, 2015 14:17
Show Gist options
  • Save stackdump/f0ee2bf2318b007ae188 to your computer and use it in GitHub Desktop.
Save stackdump/f0ee2bf2318b007ae188 to your computer and use it in GitHub Desktop.
#
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment