Installing Tools Dependencies
- Check that the OS is connected stably to the Internet so that you can obtain the software package from the official OS source or a trusted software source.
- If the OS cannot be connected to the Internet, perform Configuring the OS Yum, APT, or Zypper Source first.
- If the installation is not allowed from a software source, obtain the missing software package from another trusted channel (such as the official website of the software package) and install it.
The following procedure uses openEuler 20.03 LTS SP1 as an example to describe how to install the missing software package.
Using the Yum Source
- Use an SSH tool to remotely log in to the openEuler CLI.
- Run the following command to install the missing dependency file:
1yum install -y DependencyFileName
- After the installation is complete, run the following command to check the dependency file version:
1rpm -qa | grep DependencyFileName
If the displayed version is the installed version, the installation is successful.
Using RPM Commands
- Obtain the RPM installation package of the missing dependency file and upload the package to any directory on the server. Then run the cd command to switch to the directory.
- Run the following command to install the missing dependency file:
1rpm -ivh rpmfile-x.x.x-x.x.noarch.rpm
If the dependency needs to be installed first, run the following command to install the dependency:
1yum installAfter the dependency is installed, run the following command to install the missing file:
1rpm -ivh rpmfile-x.x.x-x.x.noarch.rpm
- After the installation is complete, run the following command to check the dependency file version:
1rpm -qa | grep rpmfile
If the displayed version is the installed version, the installation is successful.
Parent topic: Configuring the Installation Environment