Install Development Tools
Tizen SCM tools support the following Linux distribution versions:
- Ubuntu 20.04/18.04/16.04/14.04
- openSUSE 13.2/Leap 42.1/42.3
Tizen SCM tools are maintained in http://download.tizen.org/tools/latest-release/ . If you cannot find your Linux system, that means currently Tizen SCM tools doesn’t support your operating system. But, if you still want to use tools, you can find in http://download.tizen.org/tools/archive/, Tizen SCM tools are stored in that repository.
You can install a variety of development tools, including:
- Git Build System (GBS) command line tool that supports Tizen package building.
- Image Creator (MIC) command line tool that supports Tizen image creation.
GBS and MIC are used as examples because they are mandatory development tools for Tizen developers.
Install development tools in Ubuntu or Debian
To install a development tool in Ubuntu or Debian, follow the steps below:
apt-get install <Package_Name>command is recommended because it upgrades 1 or more already installed packages without upgrading every package installed, whereas the
apt-get upgradecommand installs the newest version of all currently installed packages. In addition,
apt-get updatemust always be executed before
apt-get install <Package_Name>or
apt-get upgrade, to resynchronize the package index files.
Use the following command to set up the Tizen repository in your apt list:
echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_$(lsb_release -rs)/ /" | \ sudo tee /etc/apt/sources.list.d/tizen.list > /dev/null
lsb_release -rssub-command returns the version of your Ubuntu distribution.
You can set up the Tizen repository manually using the following steps:
Open the package manager source list using a text editor:
VIM is used in the following example:
$ sudo vim /etc/apt/sources.list.d/tizen.list
Add the Tizen tools repository to the source list:
deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_<version>/ /
For example, in Ubuntu 20.04, append the following line to the source list:
deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_20.04/ /
Pay special attention to the space between the URL and “/”.
Resynchronize the package index files from the sources specified in the source list and install development tools:
sudo apt-get update && sudo apt-get install gbs mic
Install development tools in openSUSE
To install a development tool in openSUSE, follow the steps below:
Add the Tizen tools repository to the package manager source list.
In openSUSE 13.2, for example:
$ sudo zypper addrepo http://download.tizen.org/tools/latest-release/openSUSE_13.2/ tools
Pay special attention to the space between the URL and “tools”.
Install a development tool:
$ sudo zypper refresh $ sudo zypper install gbs mic