Appcelerator Titanium is handy if you like to develop desktop as well as mobile (and web applications) entirely using JavaScript or other scripting languages like Python or Ruby. It supports HTML5 and CSS3. It is an alternative solution to the proprietary Adobe AIR and Adobe Flash.

Installing Titanium v1.2.2 on Ubuntu 10.10 Maverick Meerkat

1. Download the linux package from the appcelerator download page.
Mine is 32 bit OS. Note that if you have less than 4 GB of RAM, don't even bother installing a 64 bit OS, because its useless in every sense.

2. Extract it and navigate into the folder.

3. Run Titanium Developer.

You can do it by using

./Titanium\ Developer

4. Install to say your home directory. It will download two packages and it closes.

5. Run it again (step 3).

It will throw the error:

./Titanium Developer: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_malloc_n

6. cd to ~/.titanium/runtime/linux/1.0.0

7. Delete the following files as shown below:

rm libgobject-2.0.*
rm libglib-2.0.*
rm libgio-2.0.*
rm libgthread-2.0.*

Note the * at the end of the filename. There are files ending with .la*, .so@, .so.0@ etc. It's to delete all of them.

8. Also the python linked by appcelerator is version 2.5 where as in Ubuntu 10.10 it has version 2.6. So fix it.

sudo ln -s /usr/lib/libpython2.6.so.1.0 /usr/lib/libpython2.5.so.1.0