When we use the rpm tool in Linux to install software packages, we will always encounter problems that cannot be completed due to dependencies between software packages, for those familiar with linux, you may be able to determine the dependent software packages based on experience, but it is still very difficult for the average person, and it is too troublesome to do so. What should we do? This is the yum I want to talk about. It can solve the dependency between software packages. Let's get to know it with such a powerful tool! Recommended: RedHat local yum source configuration http: // www.
When we use the rpm tool in Linux to install software packages, we will always encounter problems that cannot be completed due to dependencies between software packages, for those familiar with linux, you may be able to determine the dependent software packages based on experience, but it is still very difficult for the average person, and it is too troublesome to do so. What should we do? This is the yum I want to talk about. It can solve the dependency between software packages. Let's get to know it with such a powerful tool!
Recommended reading:
RedHat local yum source configuration http://www.linuxidc.com/Linux/2012-11/75127.htm
Configuration http://www.linuxidc.com/Linux/2013-08/88217.htm for local yum sources in RedHat Linux
RedHat 6.2 Linux modify yum source free use CentOS source http://www.linuxidc.com/Linux/2013-07/87383.htm
For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10
Before explaining this, let's familiarize ourselves with the important usage of yum installation and viewing software packages.
Basic usage of yum
1. If you want to list all software packages, enter the yum list all command, as shown in
2. If you want to display all installed instances, enter yum list installed. Otherwise, enter yum list available.
3. If you want to view the software package information, enter the yum info + software package name, as shown in
4. If you use the rpm tool to install some dependency software packages, the following situations will occur:
However, if you use yum for installation, it will solve the problem.
Then install all the software from the bottom up (depending on the dependency), prompting you to install the next
Select y to install the next
Finally, you are prompted to perform signature detection and import the public key.
This completes the installation. If you do not want the system to prompt you to install the next software package and import the public key, add-y to the command.
If you do not want signature detection, add-nogpgcheck after the command.
If you want to uninstall the software package, enter the yum remove + package name.
5. The following uses the KDE Software Package Group as an example to explain the installation process of the software package group.
Step 1: Check whether KDE is installed locally
Step 2: Install
6. view the software package group information on yum groupinfo + software package group name, as shown in
Next take a look at the second page: http://www.linuxidc.com/Linux/2013-08/88286p2.htm