How to use Tizen Studio in Ubuntu-18.04

Install libpng12-0 in Ubuntu-18.04 :-

To install tizen packages from package manager "libpng12-0" is installed. This runtime library is not present in 18.04.

For 64 bit system-

$ wget http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54...

$ sudo dpkg -i libpng12-0_1.2.54-1ubuntu1_amd64.deb

The libpng12-0 is present in Xenial (16.04) and can be downloaded and installed from the above commands.

Generally, installing packages from older distributions may break apt installation system. Since its dependencies are also present in Ubuntu-18.04, it will not break apt system.

Alternate Solution-

Since libpng12-0 is upgraded to libpng16-16, we can update the respective project ( package manager) to use most recent libpng16-16 library.

 

Emulator is stuck at "booting kernel" in Ubuntu-18.04 (while qemu-kvm installation) :-

Reason behind this is insufficient permissions to the user.

So after installing KVM for Ubuntu-18.04. Run the below command-

$ sudo adduser $USER kvm

This will add username to "kvm" group for /dev/kvm.

Note: Restart or logout/login is required for the permissions to take effect.