Serial number | command | Explanation |
---|---|---|
1 | yum check-update | List all software that can be updated |
2 | yum update | Update all software |
3 | yum install <package_name> | Install only the specified software |
4 | yum update <package_name> | Only update the specified software |
5 | yum list | List all installable software |
6 | yum remove <package_name> | Remove package |
7 | yum search | Find a package |
8 | yum clean packages | Clear the package in the cache directory |
9 | yum clean headers | Clear the headers in the cache directory |
10 | yum clean oldheaders | Clear the old headers in the cache directory |
11 | yum clean, yum clean all (= yum clean packages; yum clean oldheaders) | Clear the packages and old headers in the cache directory |
Linux operating system yum commonly used commands
Guess you like
Origin blog.csdn.net/qq_43073558/article/details/107302286
Recommended
Ranking