Updating Tizen Studio

The Tizen Studio provides the Package Manager, a comprehensive package management tool for installing, updating, and removing platforms and tools. This topic covers how to install, update, and remove packages using the GUI version of the tool, and how to update packages with the CLI version of the tool.

About the Package Manager

The Package Manager features manage the packages that are used in all Tizen Studio programs. Platforms and tools of the Tizen Studio consist of collections of packages that contain the necessary files, meta-data, and installation and removal scripts. Each package has complicated dependencies to other packages. The Package Manager offers an easy and simple way to manage platforms and tools without understanding the complicated package dependencies.

Package Manager Structure

The Package Manager is composed of 3 main tabs: Main SDK, Extension SDK, and Progress.

  • In the Main SDK tab, you can manage platforms, emulators, and other advanced tools.
  • In the Extension SDK tab, you can install and remove extension SDKs, such as the Certification Extension and other extra packages for platforms.
  • In the Progress tab, you can monitor the progress of installing, removing, and updating packages. You can also cancel the process while the packages are installing or updating.

The following sections introduce package management in detail.

Starting the Package Manager

Before starting the Package Manager, close all Tizen Studio programs.

To run the Package Manager:

  • On Windows®, select Start > All Programs > Tizen Studio > Tools > Package Manager.
  • On macOS, select Launchpad > Package Manager.
  • On Ubuntu, select Dashboard Home > Package Manager.

Figure: Package Manager main window

Package Manager main window

Looking Around the Package Manager

The Package Manager is composed of 3 areas: the head, the main, and the description area. The head area consists of the tool title and 3 icons.

  • The left icon is a question mark icon. By clicking this icon, the Inside Trouble Shooting window opens to provide guides to help you shoot frequently occurred troubles.
  • The middle icon is a gear icon. By clicking this icon, you can change settings regarding package repository and proxy options.
  • The right icon is an information icon. By clicking this icon, you can identify information, such as the version of the Package Manager, the installation path, the package repository URL, the distribution name, and the package snapshot.

In the main area, there are 3 tabs: Main SDK, Extension SDK, and Progress.

  • All platforms and tools are listed in the Main SDK tab.
  • Extra tools and packages are listed in the Extension SDK. You can install additional packages and remove installed packages in both tabs.
  • In the Progress tab, you can see what packages are being installed or removed.
  • Under the 3 tabs, there are the Profile filter button icons profile filter buttons in the left-most side. By turning each filter on or off, you can filter the package list based on the profile. Right to the filter buttons, there is a View installed packages check box. This option includes only the installed packages in the profile list. At the right-most side, the Update available icon appears only when there are updates available for the installed packages.

Figure: Main area

Main area

When you click a platform or package in the list, you can see its detailed description.

Figure: Description area

Description area

Updating Packages

After you have installed the Tizen Studio using the Installer, there can be updates available of the installed packages. If you are connected to the network, the Update iconUpdates available button appears as shown in the following figure. Click Updates available to update all the packages you have installed. For securing the system integrity among all packages in the Tizen Studio, the Package Manager does not support updating individual packages.

Figure: Update icon enabled

Update icon enabled

If you are using the Tizen Studio offline, you can update the packages with an image file. To install a package with the image file:

  1. Click the gear icon at the top-right corner and select the SDK Image radio button.
  2. Click the browse button to load the image file. If the image file is valid, you can see detailed information about the file.
  3. Click OK at the bottom of the dialog. The Update available button appears after the platforms and tools of the image file are re-loaded. Now, you can update and install additional platforms and tools with the image file.
Note

Make sure that the image file includes a newer Tizen Studio than the current one before updating and installing with the image file.

Installing Additional Packages

Installing additional platforms and tools is simple. In the Main SDK and Extension SDK tabs, there is a list of platforms and tools. If you want to install a specific platform, just click the Install icon install icon next to that platform. The Package Manager installs all tools and packages that are required for the platform.

Figure: Installing platform packages

Installing platform packages

Likewise, when you want to install a single package, you need to unfold the list of a specific platform, and click the install icon next to the package that you want to install. While installing the package, you can install more packages by clicking the install icon next to any package. Once you click the install icon on a platform or a package, you can check the progress of the installation in the Progress tab.

Canceling and Retrying Installation

While installing the packages, you can cancel the installation. To cancel the installation, go to the Progress tab while the packages are installing. In the Progress tab, you can see the installation progress and the Cancel icon cancel icon next to each package. To cancel any package installation, click the cancel icon. Note that canceling the installation of a single package can cancel the installation of other packages due to their dependencies.

Figure: Canceling the installation

Canceling the installation

After you have canceled the installation, the Retry icon retry icon appears next to the packages in the Progress tab. If you want to try re-installing the package, click the retry icon. According to what you choose to reinstall, the Package Manager may install some packages together because of their dependencies.

Removing Packages

Removing the installed packages is as simple as installing. After a package is already installed, the install icon next to the package changes to the Remove icon remove icon. As when installing packages, removing an individual package can cause some other dependent packages to be removed. You can monitor the removal progress of packages. However, unlike the installation, you cannot cancel the removal process because it may break the integrity of the Tizen Studio.

Figure: Removing packages

Removing packages

Monitoring the Progress

Once you click the install, update, or remove icon of packages in the Main SDK or the Extension SDK tab, you can monitor the progress in the Progress tab. Under the 3 tabs, there is a total progress bar that shows the entire progress of installation, update, or removal with its expected time to completion. Below the total progress bar, the status of each progress (install, update, remove) is presented. As mentioned in the previous section, while the installation or update is in progress, you can cancel the process or retry a canceled process.

You cannot cancel package removal.

Figure: Progress tab

Progress tab

Updating with the CLI Package Manager

Run the CLI Package Manager with the update command using the following syntax:

package-manager-cli update [--accept-license] [--no-java-check] [--proxy <value>] [-f <file path>] [-p <password>] [--latest]

Table: Update command parameters

Parameter Description
--accept-license Accepts the license terms.
--no-java-check Skips the Java version check.
--proxy <value> Proxy configuration value. Use one of the following values: direct, auto, or ip:port.
-f, --file <file path> If you want to install packages from a local SDK image, specify the full path of the SDK image file.
-p, --password <password> Administrator (sudo) password for authentication. Ubuntu only.
--latest This option is only useful to update the Tizen Studio to the latest version after you downgraded it manually to an earlier version. Otherwise, the Package Manager updates it to the latest version with or without this option.