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 .
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
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