RPM is a good thing, but the only thing that cannot be solved is the dependency problem. That is, the software dependency problem. YUM can be used to solve the problem perfectly.
YUM configuration process:
1. Install YUM Repository and configure it to be used by the YUM Client. You can use FTP, file system, or HTTP (here file system is used as an example)
Create a packages folder, mkdir-p/home/lewis/packages
2. Configure the YUM Client: vi/etc/Yum. repos. d/repo_debug.repo
Set baseurl = file: // home/lewis/packages
Enabled = 1
3. Install the createrepo package and create a YUM Repository
Next, you can use yum install to install the required package. YUM automatically installs the relevant dependency package for you.