Install Development Tools
Tizen SCM tools support the following Linux distribution versions:
- Ubuntu 22.04/20.04/18.04
- openSUSE 15.2/42.3/42.1
NoteTizen 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.
NoteGBS and MIC are used as examples because they are mandatory development tools for Tizen developers.
Install development tools in Ubuntu
To install a development tool in Ubuntu, follow the steps below:
NoteThe
apt-get install <Package_Name>
command is recommended because it upgrades 1 or more already installed packages without upgrading every package installed, whereas theapt-get upgrade
command installs the newest version of all currently installed packages. In addition,apt-get update
must always be executed beforeapt-get install <Package_Name>
orapt-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
Note
The
lsb_release -rs
sub-command returns the version of your Ubuntu distribution.Note
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 22.04, append the following line to the source list:
deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_22.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 15.2, for example:
$ sudo zypper addrepo http://download.tizen.org/tools/latest-release/openSUSE_15.2/ tools
Note
Pay special attention to the space between the URL and “tools”.
-
Install a development tool:
$ sudo zypper refresh $ sudo zypper install gbs mic