我要评分
获取效率
正确性
完整性
易理解

Installing the Tool

Installation

  • Installing an RPM package requires the root user permission. An installed RPM package can be used similar to the shell. Common users cannot use the Porting Advisor or Affinity Analyzer.
  • Generally, the TAR packages are decompressed and used by the upload user. You need to obtain the DevKit binary path before running the TAR packages.

The tool can be used in either of the following ways:

  • TAR package: Upload the tool package (DevKit-CLI-x.x.x-Linux-Kunpeng.tar.gz) to the server, decompress the package, and switch to the tool directory.
  • RPM package: You need to install the RPM package before using it.
  1. Install the RPM package.
    rpm -ivh devkit-x.x.x-1.aarch64.rpm devkit-tuner-x.x.x-1.aarch64.rpm devkit-porting-x.x.x-1.aarch64.rpm

    You are required to install the devkit-x.x.x-1.aarch64.rpm or devkit-x.x.x-1.x86_64.rpm installation package before installing other installation packages.

    Command output:

    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:devkit-x.x.x-1                ################################# [ 33%]
    devkit installed
       2:devkit-porting-x.x.x-1        ################################# [ 67%]
    devkit-porting installed
       3:devkit-tuner-x.x.x-1          ################################# [100%]
    devkit-tuner installed
  2. Check whether the installation is successful.
    rpm -qa | grep devkit

    The installation is successful if the installation package name is displayed in the command output.

    devkit version

    The version number is displayed in the command output.

  3. Make the automatic command line completion take effect.
    Log in to the terminal again or run the following command on the terminal:
    source /etc/bash_completion.d/devkit.sh

Upgrade

To upgrade the tool, uninstall it and install the new version.