Yum Source Overview
There are three ways to install software in Linux: RPM installation, yum installation, source code compilation and installation, RPM installation package, when the package has dependencies can not solve the problem since the installation is not convenient, and Yum equivalent is the RPM package after the installation of a way, Be able to solve the dependency problem between RPM package, can achieve similar with Windows in the installation of a key problem, in addition to the installation of the source code, the ability to achieve the customization of the function, relatively difficult to compile the compilation is more difficult to configure, the relative comparison is as follows:
Installation method |
Advantages |
Disadvantages |
Reference commands |
Rpm |
Installation of a single package is very simple, no configuration required, convenient, powerful query function |
Cannot resolve dependency issues |
RPM-IVH installation, rpm-e Delete, rpm-q query |
Yum |
Automatic resolution of dependency issues, easy installation, use of rich RPM package resources |
function cannot be customized, software is not real-time update |
Yum install, yum remove, etc. |
Source code Compilation |
Ability to customize package features, install the latest packages |
Difficult to install and configure, not suitable for beginners |
./configure compiling, make compiling, make install |
Yum Source Configuration
Use of Yum
This article from "Happy Laboratory" blog, declined reprint!
RHEL7 Local Yum Source configuration