Install Tizen SDK on Ubuntu
Contents
Introduction
Tizen SDK is compatible with Windows, Linux and Mac OS. The installation on Ubuntu requires installation of additional software before running Tizen SDK Install Manager. This tutorial has been tested on Ubuntu 12.10 32-bit.
Installation
Download Tizen SDK
Download an appropriate stable version of Tizen SDK Install Manager for your Ubuntu.
wget http://download.tizen.org/sdk/InstallManager/tizen-sdk-2.0-ubuntu32.bin
For 64 bit version,
wget http://download.tizen.org/sdk/InstallManager/tizen-sdk-2.0-ubuntu64.bin
Install Java Runtime Environment (JRE)
1. Download JRE for Linux as a tar archive
2. Extract the archive
tar -xvf jre-7u17-linux-i586.tar.gz
3. Create Java directory and move JRE into it
sudo mkdir -p /usr/lib/jvm/jre1.7.0 sudo mv jre1.7.0_17/* /usr/lib/jvm/jre1.7.0/
4. Install/Update Java
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0/bin/java 0
5. Create directory for the plugin
mkdir ~/.mozilla/plugins
6. Create a symbolic link to Java
ln -s /usr/lib/jvm/jre1.7.0/lib/i386/libnpjp2.so ~/.mozilla/plugins/
Install Dependencies
Before launching Tizen SDK Install Manager install the following packages: expect, gtk2-engines-pixbuf, libgnome2-0, qemu-user-static and libwebkitgtk-1.0-0
sudo apt-get install expect sudo apt-get install gtk2-engines-pixbuf sudo apt-get install libgnome2-0 sudo apt-get install qemu-user-static sudo apt-get install libwebkitgtk-1.0-0 sudo apt-get install gettext sudo apt-get install gksudo sudo apt-get install module-init-tools sudo apt-get install libudev-dev
Install Tizen SDK
Add executable permissions to Install Manager and run it. Follow the instruction to complete the installation.
chmod +x tizen-sdk-<version>-ubuntu<bits>.bin ./tizen-sdk-<version>-ubuntu<bits>.bin
Optionally the Smart Development Bridge (SDB) could be registered as a global command by adding a symbolic link to it at /usr/bin/
sudo ln -s /home/leon/tizen-sdk/tools/sdb /usr/bin/sdb
Troubleshooting
- SDK runs on Eclipse, which requires JRE, JRE 6 or newer package is required.
- Solution: Install JRE before running Tizen SDK installer.
- Mising "expect" "gtk2-engines-pixbuf" "libgnome2-0" "qemu-user-static" "libwebkitgtk-1.0-0" package(s)
- Solution: install the required packages.
- Problem with installing Oracle Java on Ubuntu machine
- Solution: Install java-package and convert the downloaded Oracle JDK/JRE archive into a .deb file. See JavaPackage for more information. There is also a oab-java6 script to generate JDK and JRE Debian packages. Please read the Issue #64 for jdk7u9
- Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Unknown Mozilla pah (MOZILLA_FIVE_HOME not set)] error pops up
- Solution: install libwebkitgtk-1.0-0,
- Event Injector is not shown in the IDE
- Solution: install Ajax Tool Framework plug-in for your Eclipse.
- Unable to launch SDB on Ubuntu 13.10 64-bit:
sdb: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
- Solution: Create a symbolic link (do it very carefully and you own risk :) ):
sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.3.5 /lib/x86_64-linux-gnu/libudev.so.0
- Tizen IDE closes unexpectedly while a new project is being created. Issue has been experienced with Tizen 2.2.1 on Ubuntu 13.10.
- Solution: Remove google-talkplugin if it is installed.
sudo apt-get remove google-talkplugin
External Links
How to Install Tizen SDK on Ubuntu
Installing the Tizen SDK
Install Oracle Java Runtime (JRE) 7 in Ubuntu 12.04
Step by Step Installation Guide in Korean 우분투에 타이젠 2.0 매그놀리아(Magnolia) 정식 버전 SDK 설치하기