How to Install Titanium Studio on Linux/Ubuntu

This is done with Ubuntu 12.04 32-bit, but will probably also work for newer versions. See Appcelerator's own documentation for 64-bit differences. This will be referring to Titanium Studio as TS. Install Ubuntu 12.04 (32-bit) - if not...
Part 1 of 5:

Set up Ubuntu

  1. Install Ubuntu 12.04 (32-bit) - if not already installed.
  2. To ensure TS has the permissions it needs we want to login as root to our desktop environment. To do so we need to make sure root has a password and then make it possible to login to root from the login screen. Afterwards reboot and login as root.
    1. sudo passwd root
    2. sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
  3. Update your system further with these commands. The last one is mainly for installing node.js in the next stop.
    1. sudo apt-get install libjpeg62 libwebkitgtk-1.0-0
    2. echo 'export MOZILLA_FIVE_HOME=/usr/lib/mozilla' >> ~/.bashrc
    3. sudo apt-get install git-core curl build-essential openssl libssl-dev
Part 2 of 5:

Install Java

  1. Install Oracle JDK 7. Titanium will not work with OpenJDK so make sure you uninstall that first if you have it.
    1. sudo apt-get install software-properties-common
    2. sudo add-apt-repository ppa:webupd8team/java
    3. sudo apt-get update
    4. sudo apt-get install oracle-java7-installer
Part 3 of 5:

Install node.js

  1. Clone the Node.js repository
    1. git clone https://github.com/joyent/node.git
  2. Show node.js versions available in the repository and select one. I chose to install version 0.10.28 which seems to work just fine.
    1. cd node
    2. git tag #
    3. git checkout v0.10.28
  3. Compile and install it
    1. ./configure
    2. make
    3. sudo make install
  4. Check that it was installed correctly:
    1. node -v
  5. Install the package manager NPM. With the second command you just check that it is installed correctly.
    1. sudo apt-get install npm
    2. npm -v
Part 4 of 5:

Install Android SDK

  1. Download the SDK bundle from Android developer site
  2. Extract the 'sdk' folder from the zip file which is named something like 'adt-bundle-linux-x86-20140321.zip' to a desired location, eg. somewhere in your home folder.
    1. Syntax of the unzip command:
      unzip [zipfile] -d [destination-folder]
  3. Start the Android SDK Manager:
    1. sudo /your/sdk/folder/tools/./android
  4. Check the Tools and the APIs you want to install, then click Install package and follow on screen instructions. Let it complete the downloads.
    1. Minimum API 10, which is Android 2.3.3, must be installed.
Part 5 of 5:

Install Titanium Studio

  1. Download the latest Titanium Studio from Appcelerator (account required) and unzip to any desired folder.
  2. Start TS by opening the file 'TitaniumStudio' in the location you unzipped the file, and let it install its latest updates when it asks to do so.
    1. ./TitaniumStudio
    2. When asked indicate the location of your workspace.
  3. After updates are installed it will ask which SDKs to install. Select the Android SDK and select Settings. Instead of selecting which SDKs you want, enter the path to the 'sdk' folder that unzipped earlier.
  4. We are done!
4.3 ★ | 4 Vote