oepkgs Image Source Configuration and Usage

Configuration

Currently, the oepkgs image source provides more than 30,000 software packages. You can download the software packages by following the installation guide on the oepkgs search page. Alternatively, you can download the oepkgs-release package to the server and run the yum search command to search for the desired software package, and download and use it.

**NOTE:**

  • The address of the oepkgs search page is https://search.oepkgs.net/. The method of downloading and installing software packages is the same as that of downloading and installing the oepkgs-release package. The following describes the detailed procedure.
  • Download the oepkgs-release package to the server. By default, the priority field in the .repo configuration file is used to change the priority of the oepkgs image source to the lowest to ensure that the image source provided by the OS is preferentially used. You can change the priority of the oepkgs image source as required.
  1. Log in to the oepkgs community website.
  2. Click the Search tab. The software package search page is displayed.
  3. Enter oepkgs-release in the search box and click Search. The download list of oepkgs-release packages of different versions is displayed.
    • oepkgs-release
  4. Select the oepkgs-release package to be downloaded based on the openEuler version in the environment to be configured.
  5. Click View Details to view details about the oepkgs-release package and configure the image source based on the installation guide.
    1. Add the source.

      shell
      dnf config-manager --add-repo https://repo.oepkgs.net/openeuler/rpm/openEuler-xxx/extras/noarch/
    2. Update the source index.

      shell
      dnf update
    3. Install the oepkgs-release software package.

      shell
      dnf install oepkgs-release
    4. Check the image source configured on the service.

      shell
      dnf repolist

**NOTE:**

  • After the oepkgs-release package is installed, the oepkgs image source has been configured on the service. You can view the new .repo file in the /etc/yum.repos.d/ directory.

Usage Guide

If the oepkgs image source is configured in the environment by downloading the oepkgs-release package to the server, run the following command to download the software package from the oepkgs image source:

  1. Query the software package.

    shell
    dnf search ***
  2. Install the software package.

    shell
    dnf install ***