Sunday, March 15, 2009

Installing Komodo Edit 5

Here is another useful tip for having a good development environment. Since there are many Integrated Development Environments on the market I have been going through each one to see what I like and don't like. I have tested many different IDEs available for PHP programming and I have come to like Komodo-Edit. This is the light (free) version of the Komodo IDE 5 program. Since this is not available via a repository let me show you how to install this into your Ubuntu system.
  1. Download the latest release for Linux by visiting this link (click the link that says download now).
  2. If you are using the gnome desktop you can right-click and select extract here or you can extract using the tar command.
    tar zxvf Komodo-Edit-5.0.3-2767-linux-libcpp6-x86.tar.gz
  3. Open up a terminal and move to that directory using cd. Mine is on my desktop so the command looks like this:
    cd Desktop/Komodo-Edit-5.0.3-2767-linux-libcpp6-x86/
  4. Now run:
    sh install.sh
  5. When you are asked where you would like to install it go ahead and type the directory to where it should be installed. Personally I put all custom installs into a folder called Software in my home directory:
    /home/myuser/Software/Komodo-Edit-5
  6. Once it finishes you still have one more step, inserting the executable into your PATH variable. This can be done with a simple command:
    sudo ln -s "/home/myuser/Software/Komodo-Edit-5/bin/komodo" /usr/local/bin/komodo
I have tested Komodo Edit on both x86 and x86_64 and it works fine even on the 64 bit system. If you get frustrated with other IDE setups go ahead and check out Komodo Edit, it may be your next best editor. By the way you can also edit Perl, Python, Ruby, Tcl, Javascript, CSS, XHTML, and some template languages besides PHP.

21 comments:

sire said...

Thank you for posting this how-to, I really appreciate it. :)

jwylie said...

Thanks - that's useful

curtismchale said...

First thanks. One problem I am having is that when I drag the desktop file generated to the toolbar for a quicklaunch icon it works fine. If I then delete the desktop file I loose the quick launch icon. Also Komodo doesn't show up in my application in the menu. Any thoughts?

krli said...

thank you. I followed every step and it worked just fine.

Sitdhi said...

It's work !
Thanks for informative article.

Paurush Pandit said...

Thanks man..

robing said...

Thanks very much.

a very valuable tutorial.

bunty said...

thx

memo said...

thank you very much for this useful tutorial .. however, i have two questions:

1) how can I show the komodo edit icon in Applications menu ?

2) I added a remote (ftp) server account inside komodo, I can open remote files as usual : file -> open ...
but I want to see a tree view (or any similar view) for my remote folder, how can i do it ?
thank you very much in advance ..

DrTebi said...

You can also add a Launcher to the Applications Menu after following your installation instructions:

- right-click on the "Applications" menu and choose "edit"
- highlight the menu where you want the button to be added (probably "Programming")
- click "New Item"
- Type in:
Name: Komodo Edit
Command: komodo
Comment: Komodo Edit Code Editor

If you also want an icon, click the big icon button (top left) and browse to your Komodo install directory and find icons in share/icons/

Now it looks quite official :)

Thanks for your post.

Craig Strachan said...

Awesome! - thanks a lot; all working perfectly.

judsonm123 said...

When I try to run komodo I get:

./komodo: 23: ./../lib/mozilla/komodo: not found


I created the symbolic link.

What am I doing wrong?

murad parambadan said...

thank you......... its useful

Ajju said...

Great! thanks a lot... Can u kindly explain how uninstall it...... ;)

Goshie said...

Hey thanks man, this helped me install it. Theres now the new Komodo version 6. The terminal code 'komodo' to launch it n longer works. What is the new code to launch it?

I no longer use Komodo Edit for php projects since i found out NetBeans. Also free.

Yair said...

excellent post, thank you very much.

John said...

Cheers, big ears.

SHIV - the eternal destroyer said...

Thanks brother or sister... :) it works...

Khan said...

Thanks a lot, it was really helpful.

karthik said...

Really helpful....Thanks

ScottInNH said...

Here's the problem I had, and the solution. This is not at all specific to Komodo, could be any app which doesn't have a .desktop file..


I installed ActiveState Komodo. It creates a .desktop file on my desktop. I don't want clutter on my desktop, and removed that .desktop file.

Then I had the problem: I could launch Komodo, and I could pin it to the menu, but the menu would not launch the Komodo program. Looks like it tried launching (icon throbs) but no app window.

Hmm. It looks like, EVERY app that goes in the Unity menu will need a .desktop file. (Apps that come with Ubuntu will have one of course).

So I recovered the desktop file from the Trash, moved it to the Komodo install directory (put it anywhere that it belongs and you can find it someday). Then drag and drop the Komodo.desktop file to the Unity launcher and you are DONE!.

I wasted 10 minutes on this problem, so hopefully this helps someone..