Run YUM Command 1 in Linux to list all software packages that can be installed: www.2cto.com [root @ localhost ~] # Yumlist2. query the software package httpd [root @ localhost ~] # Yumsearchhttpd3. list the software package information httpd. i686 [root @ localhost... YUM command in Linux 1. list all software packages that can be installed www.2cto.com [root @ localhost ~] # Yum list2. query the software package httpd [root @ localhost ~] # Yum search httpd3. list the software package information httpd. i686 [root @ localhost ~] # Yum info httpd4: list all software package information www.2cto.com [root @ localhost ~] # Yum info5. install the software package httpd. i686 [root @ localhost ~] # Yum install httpd6: list installed software packages [root @ localhost ~] # Yum list installed7. list updatable software packages [root @ localhost ~] # Yum list updates8: clear all data in the yum cache Directory [root @ localhost ~] # Yum clean all9. update the software package [root @ localhost ~] # Yum update httpd10. uninstall the software package httpd [root @ localhost ~] # Yum remove httpd11. clear the software package [root @ localhost ~] Under the yum cache Directory [/var/cache/yum]. # Yum clean packages
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service