When we install a package with the RPM tool under Linux, we always encounter problems with the installation because of the dependencies between the packages. For people familiar with Linux, it may be possible to judge the software packages that depend on experience, but it is difficult for the average person to do so, and it is too troublesome to do so. What about it? This is what I want to talk about, it can be very good to solve the dependencies between software packages, such a powerful tool let's get to know Yum!
Before we explain it, let's get acquainted. Some important usage of Yum installation, view package
Basic usage of Yum
1, if you want to list all the packages can enter the Yum list all command, shown as shown in the following image
2, if you want to show all the installed, then enter the Yum list installed, vice versa then enter Yum list available
3, if you want to see the package information, enter the Yum info + package name, as shown in the following figure
4, if you use the RPM tool to install some dependent software packages will appear below the situation
But it will be solved with Yum installation.
Then install all the software from the bottom up (this is dependent on dependencies), prompting you to install the next
Select Y to install the next
Finally prompts you to carry on the signature detection, the import public key
This completes the installation, if you do not want to be prompted to install the next package and import the public key at the end of the command plus-y can be
If you don't want signature detection, you can add-nogpgcheck after the command.
If you want to uninstall, enter Yum Remove + package name
5, the following KDE package group as an example for you to explain the package group installation process
Step one: see if there are any KDE installed locally