Installing yEd on Linux

Desperate to find some new package for drawing network diagrams other than Visio or dia, I came across yEd from yWorks.

This is a pretty good drawing package. Because it is written in Java, it is also cross platform. Here’s how I set it up on Fedora (I’m also using it on Windows 7 64-bit — all I did there was create a shortcut to the yed.jar file and import set the icon to the included yicon.ico).

1. Downloaded the zip distribution.

2. Copied contents to /opt/yed.

3. Created shell script to launch application, /opt/yed/yed.sh.

#!/bin/bash
JAVA_HOME=/usr/lib/jvm/jre
${JAVA_HOME}/bin/java -jar /opt/yed/yed.jar "$@"

4. Symlinked yed.sh to /usr/local/bin/yed. Also copied /opt/yed/icons/yicon32.png to /usr/share/pixmaps.

5. Create /usr/share/applications/yed.desktop.

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=yEd
GenericName=Draw Diagrams
Comment=
Exec=yed
Icon=yicon.png
Terminal=false
Type=Application
StartupNotify=true
Categories=Applications;Graphics;
This entry was posted in System Administration on by .

About phil

My name is Phil Lembo. In my day job I’m an enterprise IT architect for a leading distribution and services company. The rest of my time I try to maintain a semi-normal family life in the suburbs of Raleigh, NC. E-mail me at philipATlembobrothersDOTcom. The opinions expressed here are entirely my own and not those of my employers, past, present or future (except where I quote others, who will need to accept responsibility for their own rants).