LUKASZ SKALSKI

LUKASZ SKALSKI

Tizen SDK on non-Ubuntu Linux distributions

Because I’ve been thinking about adding support for Samsung Gear S (thanks to TizenExperts Twitter Competition, I’m one of the lucky GearS owners) to my Raspberry Control app (proof-of-concept video), I had to install Tizen SDK for Wearable on my computer. It is, of course, possible to develop apps without relying on the official Tizen IDE, as long as the application complies with Tizen packaging rules, but installing the whole SDK seems to be a faster and a better solution. The Tizen SDK for Wearable is a comprehensive set of tools for developing Tizen-based Samsung Gear applications. It consists of IDE, Emulator, toolchain, sample code, and documentation. Unfortunately, Tizen SDK can only be run on Windows, Ubuntu, and Mac OS X. But what about other Linux distributions, like Fedora, which I use? So, I’ve started searching for some info about the possibility to run Tizen SDK on different Linux distributions. Instead of answers, I found only more questions (e.g. here [1]) and one tutorial which is no longer available [2]. Based on [2] and addressing the developers’ needs, I prepared a reworked tutorial on how to run Tizen SDK for Wearable on non-Ubuntu Linux distributions.

In this tutorial I will be based on Fedora 21 (x86_64), but this info should be also suitable to yours Linux distributions – minimal requirement is ability to install four packages: debootstrap, expect, webkitgtk and Oracle’s Java – it’s all. So let’s start…

1) Tizen SDK needs Oracle JDK, so first you have to check Java version:

If you use OpenJDK (output like above) you have to install Oracle’s Java and use the update-alternatives tool from java-common package which let you update alternatives. If Oracle Java is your default environment you can just skip steps 2-4.

After installation we can’t just simply run Tizen IDE or Tizen Emulator because they are linked against libraries which are not available on your system. The quickest solution to provide all libraries in proper version, to run whole Tizen IDE without any problems, is prepare minimal Ubuntu distribution (such solution maybe is not the best one, but has two big cons – is a simple and less intrusive). Getting and installing debootstrap is very easy:

After rebooting computer you will be have to repeat steps 9, 10 and 14, so I suggest you prepare “own launcher” with schroot command to run Tizen IDE like other application in your system – I’m too lazy to do this :)

PREVIOUS POST

NEXT POST

This website uses cookies to improve your experience. I'll assume you're ok with this, but you can opt-out if you wish.Accept

Lukasz SkalskiEmbedded Software Engineer

Hi, I'm Lukasz Skalski and I'm open source enthusiast and guy who lives and breathes all things related to IT - especially Linux and embedded systems. Have a look around, check out my Resume and Portfolio to catch up some of my projects. Please feel free to contact me. Let's work together and make something great!