Linux Software Management--yum command detailed

Source: Internet
Author: User

1 Yum Install<softwarename>#安装指定软件2 YumRemove <softwarename>#卸载指定软件3 YumUpdate <softwarename>#升级指定软件4 YumSearch <keyword>#查询含有keyword的所有rpm软件包的描述5 YumList (all/installed/recent/updates) #列出全部, installed, recent software6 Yum Info<softwarename> #查询软件的信息 (and RPM-Qi functions as well)7 Yumwhatprovides filename #查询那个rpm软件包含目标文件8 9 YumSearch <keyword>#查找软件包Ten YumList #列出所有可安装的软件包 One Yumlist Updates #列出所有可更新的软件包 A YumList installed #列出所有已安装的软件包 - YumList Extras packages #列出所有已安装但不在 Yum Repository - YumList <package_name>#列出所指定的软件包 the Yum Info<package_name>#使用YUM获取软件包信息 - Yum Info#列出所有软件包的信息 - Yum InfoUpdates #列出所有可更新的软件包信息 - Yum Infoinstalled #列出所有已安裝的软件包信息 + Yum InfoExtras #列出所有已安裝但不在 Package information for Yum Repository - YumProvides <package_name>#列出软件包提供哪些文件 + YumClean Packages #清除缓存目录 (/var/cache/Yum) under the package A YumClean Headers #清除缓存目录 (/var/cache/Yum) under the headers at YumClean oldheaders #清除缓存目录 (/var/cache/Yum) under the old headers - YumCleanYumClean All #清除缓存目录 (/var/cache/Yum) under the package and the old headers (=YumClean packages;YumClean oldheaders) -  -Note: If the 32-bit system is forced to install 64-bit software, or 64-bit system to force the installation of 32-bit software, it is possible to cause some programs in the system can not start up, mainly to destroy a lot of libraries in the system.

Linux Software Management--yum command detailed

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.