yEd Graph Editor – How to Install yEd Graph Editor on Ubuntu

software installationyed

yEd is a feature rich editor for hierarchical diagrams and flow charts. I would like to install it on Ubuntu. Unfortunately it doesn't appear to be available in the official repositories.

What steps would I have to follow to install yEd on Ubuntu?

Best Answer

There are two ways to install yEd on Ubuntu.

Using the provided graphical installer

yEd comes with an easy-to-use graphical installer that takes care of all the system dependencies (Java, most importantly):

yEd installer GUI

Follow these steps:

  1. Find the yEd Graph Editor section on the yworks download page
  2. Download the appropriate Linux yEd installer for your system (32- or 64-bit)
  3. Make the installer executable with chmod +x yEd<...>.sh or by going into the properties menu of your file manager (Properties → Permissions → Allow executing file as program)
  4. Run the installer and follow the outlined steps
  5. When you're done you should be able to find yEd in your Unity Dash

Manual installation

  1. Make sure you have the latest Java release installed
  2. Download the zipped yEd release on its download page
  3. Extract the contents of the zipfile
  4. Navigate to the extracted folder and open yed.jar in java:

    java -jar "yed.jar"
  5. To integrate yEd into your system you can create a .desktop launcher under ~/.local/share/applications. E.g.:

    $ cat ~/.local/share/applications/yed.desktop
    [Desktop Entry]
    Name=yEd Graph Editor
    Comment=Edit graphml files in yed
    Exec=java -jar /home/user/applications/yEd/yed.jar %u

    Make sure to change the Exec= and Icon= lines according to your system.