In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Brief introduction
Yum (Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora and RedHat as well as in SUSE. Based on RPM package management, RPM packages can be downloaded and installed automatically from designated servers, dependencies can be automatically dealt with, and all dependent software packages can be installed at one time without tedious downloading and installation. Yum provides commands to find, install, and delete one, a group, or even all of the software packages, and the commands are concise and easy to remember.
Yum command
Grammar
Yum [options] [actions to be done] [package name...]
Command options:
-h: help
-y: when prompted by the installation process to select all "yes"
-Q: does not show the installation process
Yum common commands
1. Make a list of all updatable software commands: yum check-update
two。 Update all software commands: yum update / yum-y update (- y upgrades all packages, changes software and system settings, system version kernel upgrades) / yum-y upgrade (upgrades all packages, does not change software settings and system settings, system version upgrade, kernel does not change)
3. Install only the specified software command: yum install [package name]
4. Update only the specified software command: yum update [package name]
5. Make a list of all installable software command: yum list
6. Delete package command: yum remove [package name]
7. Find package command: yum search [package name]
8. Clear cache command: yum clean packages: clear the package in the cache directory / yum clean headers: clear the headers / yum clean oldheaders in the cache directory: clear the old headers / yum clean in the cache directory, yum clean all (= yum clean packages; yum clean oldheaders): clear the software package in the cache directory and the old headers
9. Query whether it is necessary to install a certain software yum list | grep [software name]
The above Linux yum software package management method is the editor to share with you all the content, I hope to give you a reference, but also hope that you support more.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.