Third, RPM Package Management – Yum Online Management

1. IP address configuration

   guarantee linux can Normal Internet access

2, network yum source code (default is configured, only Just need to understand it)

  share picture

3. Commonly used yum commands

  (1) query

    #yum list                                      # p>

    #yum search    keyword search for all keyword-related packages on the server

  (2) Installation

< p> #yum -y install package names

options:

install install

-y automatically install

< p>   (3)Upgrade

    #yum -y updatePack name

     options:

      update       p>      -y       Automatically answer yes

    

      -y       Automatically answer yes

    

                  is not recommended to use yum to upgrade, it is more dangerous! ! !

    (4) Uninstall

     #yum -y remove Package name

options:

remove uninstall

-y automatically answers yes

Note : Try not to use yum to uninstall the software! ! ! ! (Uninstalling yum will cause some dependencies to be uninstalled)

4, yum software group management commands

  # yum group list               lists all possible software group list span>

  #yum groupinstall    software group name installs the specified software group, the group name can be queried from the grouplist

  #yum groupremove   software group name uninstall specified software group name

Leave a Comment

Your email address will not be published.