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
- Install Ubuntu 12.04 (32-bit) - if not already installed.
- 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.
-
sudo passwd root
-
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
-
- Update your system further with these commands. The last one is mainly for installing node.js in the next stop.
-
sudo apt-get install libjpeg62 libwebkitgtk-1.0-0
-
echo 'export MOZILLA_FIVE_HOME=/usr/lib/mozilla' >> ~/.bashrc
-
sudo apt-get install git-core curl build-essential openssl libssl-dev
-
Part 2 of 5:
Install Java
- Install Oracle JDK 7. Titanium will not work with OpenJDK so make sure you uninstall that first if you have it.
-
sudo apt-get install software-properties-common
-
sudo add-apt-repository ppa:webupd8team/java
-
sudo apt-get update
-
sudo apt-get install oracle-java7-installer
-
Part 3 of 5:
Install node.js
- Clone the Node.js repository
-
git clone https://github.com/joyent/node.git
-
- 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.
-
cd node
-
git tag #
-
git checkout v0.10.28
-
- Compile and install it
-
./configure
-
make
-
sudo make install
-
- Check that it was installed correctly:
-
node -v
-
- Install the package manager NPM. With the second command you just check that it is installed correctly.
-
sudo apt-get install npm
-
npm -v
-
Part 4 of 5:
Install Android SDK
- Download the SDK bundle from Android developer site
- 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.
- Syntax of the unzip command:
unzip [zipfile] -d [destination-folder]
- Syntax of the unzip command:
- Start the Android SDK Manager:
-
sudo /your/sdk/folder/tools/./android
-
- Check the Tools and the APIs you want to install, then click Install package and follow on screen instructions. Let it complete the downloads.
- Minimum API 10, which is Android 2.3.3, must be installed.
Part 5 of 5:
Install Titanium Studio
- Download the latest Titanium Studio from Appcelerator (account required) and unzip to any desired folder.
- 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.
-
./TitaniumStudio
- When asked indicate the location of your workspace.
-
- 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.
- We are done!
4.3 ★ | 4 Vote
You should read it
- NPM in Node.js
- How to install NVM on Debian
- How to use sudo without password in Linux
- Schema validation in Node.js using Joi
- How to Install Node.Js on Windows
- Instructions for installing Node.js
- Event Loop in Node.js
- Concept of Buffer in Node.js
- Read the File record in Node.js
- Utility Module in Node.js
- What is Node.js?
- The sudo command is coming to Windows 11
Maybe you are interested
Microsoft makes major improvements to Windows Update, updates will be installed much faster
How to bypass Windows 11 minimum installation requirements
Instructions for installing and registering a Steam account on your computer
AMD Ryzen Users Should Install This BIOS Update for a Free Performance Boost
How to install/reinstall GPU driver on Windows
How to Install Hyper-V on Windows 11 Home