I'm failing to install Gephi properly on Ubuntu 12.04. I need to do some data analysis for a course using it.


Install Sun Java via Synaptic, do a Quick Search Search for sun java and install the jre and jdk. Do not forget to run update-alternatives –config java and update-alternatives –config javac.

If you’re on the 8.10 version, please install Java manually from the Oracle website, because the distributed packages are obsolete.

Download gephi from here https://gephi.org/users/download/

Then After the download completes, unzip and untar the file in a directory. Run it by executing ./bin/gephi script file.

You can run the script file with

chmod +x /bin/gephi.sh

Hope that helps .



You can install the daily build from Launchpad. I've been using it for a while with no major issues.

First add the PPA to you software sources and update apt:

sudo apt-add-repository ppa:rockclimb/gephi-daily
sudo apt-get update

Then install gephi with:

sudo apt-get install gephi

For version 0.9.2 ; Working as of Jan 2020

If you are using Debian 10 or Ubuntu 18 or later, openjdk-8-jdk is not available in your sources, do the following to install openjdk-8:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt update
sudo apt install openjdk-8-jdk openjdk-8-jre

Now, ensure your java version is 8 and do the following:

curl -L -o gephi.tar.gz https://github.com/gephi/gephi/releases/download/v0.9.2/gephi-0.9.2-linux.tar.gz
tar xzvf gephi.tar.gz

Now, you can run it as with the command bash $PWD/gephi-0.9.2/bin/gephi

However, this is not an ideal solution and may not work in the future. An alternative can be using a docker image like atb00ker/docker-turnkey:gephi. The documentation for usage of this image can be found here: https://github.com/atb00ker/docker-turnkey/tree/master/gephi

  • thanks, this worked perfectly on Ubuntu 19.04 – eid Mar 16 '20 at 14:18

For people landing here somewhat after 2012, when the question was asked: The answer by rɑːdʒɑ failed for me, but this page here, archived here, has instructions to solve the problem. You need version <= 8 of JDK.

  • Please include a brief description how to solve the problem. The link you mentioned can be deleted or altered in the website. – singrium Aug 23 '19 at 16:09
  • I didn't want to steal credits from the author of that page. I would essentially copy his post. – dasWesen Aug 23 '19 at 16:17
  • I checked and the wayback archive has the page archived already. – dasWesen Aug 23 '19 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.