Features and basic applications of yum

A yum feature

1. Easy to install, automatically solve the dependency problems encountered when adding or removing rpm packages
2. Multiple resource libraries can be configured at the same time.
3. The configuration files are simple and clear (/etc/yum.conf, /etc/yum.repos.d/CentOS-Base.repo).
4. Keep consistent with the RPM database.
 
Two yum applications
1. Install the RPM package through yum, such as installing the links package, the interface is as follows:
 
2. Delete the RPM package, for example, delete the links package, the interface is as follows:
 
3. To check for updatable RPM packages, the interface is as follows:

4. To update all RPM packages, the interface is as follows:
5. To update the specified RPM package, such as updating the kernel, operate the following interface:

 
6. To list the information of all RPM packages that can be installed or updated in the repository, this command outputs a lot, and the interface is as follows:
 
7. To list information about specific RPM packages that can be installed or updated and installed in the repository, the interface is as follows:


8. List the information of all RPM packages that can be updated in the repository. The interface is as follows:

 
9. List the information of all installed RPM packages, the interface is as follows:

 
10. List the information of RPM packages that have been installed but not included in the repository. The interface is as follows:

 
11. List all the RPM packages that can be updated in the repository, the interface is as follows:

 
12. List all installed RPM packages, the interface is as follows:

 
13. List the RPM packages that have been installed but not included in the repository. The interface is as follows:

 
14. List all RPM packages that can be installed or updated in the repository. The interface is as follows:

 
15. List the specific RPM packages that can be installed or updated and installed in the repository. The interface is as follows:

 
 

Guess you like

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