Here is my honest confession about Ubuntu and Tizen. I seriously dislike them as they are bloated and designed & developed by nuts. Anyway, I wanted the Tizen SDK to run on my ArchLinux box (for code review & curiosity).

Here is the HOWTO on running Tizen on ArchLinux (using Ubuntu chroot) : I know it is SICK!!

Create preliminary Ubuntu chroot in ArchLinux :

  1. aurget –deps -Sy –nodiscard –noedit –noconfirm –asroot debootstrap

  2. mkdir /home/ubuntu-chroot

  3. cd /home/ubuntu-chroot

  4. debootstrap –arch=amd64 quantal ubuntu-quantal-amd64

  5. ln -s /proc/mounts ubuntu-quantal-amd64/etc/mtab

  6. rm ubuntu-quantal-amd64/etc/resolv.conf

  7. echo “nameserver” > ubuntu-quantal-amd64/etc/resolv.conf

  8. echo “log:x:19:” >> ubuntu-quantal-amd64/etc/group

  9. update /etc/apt/sources (curl > ubuntu-quantal-amd64/etc/apt/sources.list )

Chrooting to Ubuntu chroot :

  1. cat

xhost +
mount -o bind /proc/ ubuntu-quantal-amd64/proc/
mount -o bind /dev/ ubuntu-quantal-amd64/dev/
LC_ALL=en_US.UTF-8 chroot ubuntu-quantal-amd64 bash
killall -gq dbus-launch

killall -gq /usr/lib/rtkit/rtkit-daemon

sleep 3
umount ubuntu-quantal-amd64/proc/
umount ubuntu-quantal-amd64/dev/

Setting-up Ubuntu chroot :

  1. apt-get update

  2. apt-key adv –keyserver –recv-keys 16126D3A3E5C1192

  3. apt-key adv –keyserver –recv-keys C2518248EEA14886

  4. dpkg-divert –local –rename –add /sbin/initctl

  5. ln -sf /bin/true /sbin/initctl

  6. apt-get -y –no-install-recommends install locales wget curl debconf devscripts gnupg vim aptitude mc

  7. apt-get -y –no-install-recommends install build-essential git-core

  8. locale-gen en_US.UTF-8

  9. update-locale en_US.UTF-8

  10. ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

  11. adduser USERNAME

  12. gpasswd -a USERNAME root

  13. gpasswd -a USERNAME users

  14. gpasswd -a USERNAME sudo

Apps/themes [optional] :

  1. apt-get -y –no-install-recommends install vim-gtk

  2. apt-get -y –no-install-recommends install gtk2-engines-oxygen gtk3-engines-oxygen oxygen-icon-theme

  3. echo “gtk-theme-name = \”oxygen-gtk\”” > /etc/gtk-2.0/gtkrc

  4. echo “gtk-icon-theme-name = \”oxygen\”” >> /etc/gtk-2.0/gtkrc

  5. echo “gtk-font-name = \”Liberation Sans 9\”” >> /etc/gtk-2.0/gtkrc

  6. cat /etc/gtk-2.0/gtkrc > /etc/gtk-3.0/gtkrc

Preparing for Tizen development :

  1. apt-get –no-install-recommends install oracle-java6-installer

  2. apt-get -y –no-install-recommends install procps gettext libdbus-1-3 libcurl3 expect gtk2-engines-pixbuf grep zip make qemu-user-static libwebkitgtk-1.0-0 libgnome2-0 pciutils libxtst6 libglu1-mesa libv4l-0

  3. apt-get -y –no-install-recommends install xdg-utils unzip

  4. apt-get -y –no-install-recommends install qemu-kvm

  5. su – USERNAME

  6. mkdir -p ~/.local/share/desktop-directories/

  7. wget

  8. bash ./tizen-sdk-2.0-ubuntu64.bin

  9. su – tizen-dev

  10. /home/tizen-dev/tizen-sdk/ide/ &