Use yum to query the software you want to install

1. Use YUM to find software packages
Command : yum search~
2. List all installable software packages
Command : yum list
3. List all updateable software packages
Command : yum list updates
4. List all installed software Package
Command : yum list installed
5. List all installed packages but not in Yum Repository
Command : yum list extras
6. List specified packages
Command : yum list ~
7. Use YUM to get package information
Command : yum info ~
8. List all package information
Command : yum info
9. List all updateable package information
Command : yum info updates
10. List all installed package information
Command : yum info installed
11. Column Show all the package information installed but not in the Yum Repository
Command : yum info extras
12. List which files are provided by the package
Command : yum provides~



YUM install and remove software It is common to add and remove software in the

system , and yum can also be competent for this task , as long as the software is rpm installed.
The installation command is, yum install xxx, yum will query the database to see if there is this package, if so, check its dependency conflict relationship, if there is no dependency conflict, then it is best to download and install; if there is, it will be given Prompt, asking if you want to install dependencies at the same time, or remove conflicting packages, you can decide for yourself.
The command to delete is yum remove xxx. Like installation, yum will also query the database and give tips for resolving dependencies.
Method/step

    1

    Install package
    command with YUM: yum install <package_name>
    2

    Remove package
    command with YUM: yum remove <package_name>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326441322&siteId=291194637