Help Center/ Huawei Cloud EulerOS/ User Guide/ Obtaining the openEuler Extended Software Packages
Updated on 2025-07-21 GMT+08:00

Obtaining the openEuler Extended Software Packages

By default, HCE does not load the openEuler repository to avoid conflicts with HCE software packages.

HCE 2.0 is only compatible with openEuler 22.03 LTS. This section describes how to obtain the extended software packages of openEuler 22.03 LTS.

How to Obtain

Application Scenario

How to Install RPM Packages

How to Back Up and Restore Repository Files

Using wget to Download RPM Packages

Installing a few RPM packages

Manually download and install the RPM packages.

N/A

Batch Downloading RPM Packages Using the Repository File

Installing multiple RPM packages

The RPM packages are automatically installed. You do not need to download them again.

Back up the repository files in the /etc/yum.repos.d directory first and then delete them. Restore the repository files after the RPM packages are installed.

Using wget to Download RPM Packages

You can run the wget command to download the RPM packages. hadoop-3.1-common-3.1.4-4.oe2203.noarch.rpm is used as an example.

  1. Sign in to the openEuler community.
  2. In the OS/ or everything/ directory, select the aarch64/ or x86_64/ system architecture directory and open the Packages/ directory.
    Figure 1 Example
  3. Search for the required RPM package, for example, hadoop-3.1-common-3.1.4-4.oe2203.noarch.rpm.
    Figure 2 Example
  4. Right-click the RPM package, copy the download link, and run the wget command to download the RPM package.
    Figure 3 Example
  5. Check whether the download is successful.
    Figure 4 Example of successful download
  6. Run the rpm -ivh hadoop-3.1-common-3.1.4-4.oe2203.noarch.rpm command to install the RPM package. If information similar to Figure 5 is displayed, the package is installed.

    If other packages are required during the installation, repeat the above steps to install the dependent packages.

    Figure 5 Example of successful RPM package installation

Batch Downloading RPM Packages Using the Repository File

For example, download openEuler-22.03-LTS (x86_64) RPM packages and run yum to install them.

  1. Ensure that your VM can access https://repo.openeuler.org/openEuler-22.03-LTS/.
  2. Configure a yum repository.

    Go to the /etc/yum.repos.d directory, create an openEuler.repo file, and copy and paste the following content to this file.

    As the openEuler.repo file in repo.openeuler.org/openEuler-22.03-LTS/update/x86_64/ conflicts with the HCE repository file, back up the HCE repository file in the /etc/yum.repos.d directory and delete this file, and then create a new openEuler.repo file.

    [openEuler-everything]
    name=openEuler everything repository
    baseurl=https://repo.openeuler.org/openEuler-22.03-LTS/everything/x86_64
    gpgcheck=1
    enabled=1
    priority=3
    gpgkey=https://repo.openeuler.org/openEuler-22.03-LTS/everything/x86_64/RPM-GPG-KEY-openEuler
    [openEuler-update]
    name=openEuler update repository
    baseurl=https://repo.openeuler.org/openEuler-22.03-LTS/update/x86_64/
    gpgcheck=1
    enabled=1
    priority=3
    gpgkey=https://repo.openeuler.org/openEuler-22.03-LTS/everything/x86_64/RPM-GPG-KEY-openEuler
  3. Run the yum clean all command to delete the cache of the yum repository.
  4. Run yum makecache to connect to the newly configured repository. If information similar to the following is displayed, the repository is connected.
    Figure 6 Example of yum commands
  5. Install the RPM packages. hadoop-3.1-common is used as an example here.
    1. Run yum list | grep hadoop-3.1-common to check whether the package exists.
      Figure 7 Checking whether the hadoop-3.1-common package exists
    2. Run yum -y install hadoop-3.1-common to install the package. If the following information is displayed, the package is installed.
      Figure 8 Successful installation of the hadoop-3.1-common package using yum
  6. Restore the repository file.

    After installing the required openEuler packages, delete the openEuler.repo file and restore the repository file deleted in step 2.