How to install the Yum package under Redhat Linux

Source: Internet
Author: User
Tags linux

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.