linux中如何使用yum命令查看已安装的软件包
发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,这篇文章主要为大家展示了"linux中如何使用yum命令查看已安装的软件包",内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下"linux中如何使用yum命令查看
千家信息网最后更新 2026年11月03日linux中如何使用yum命令查看已安装的软件包
这篇文章主要为大家展示了"linux中如何使用yum命令查看已安装的软件包",内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下"linux中如何使用yum命令查看已安装的软件包"这篇文章吧。
yum是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基於RPM包管理可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载、安装。
列出所有已安装的软件包
yum list installed
yum针对软件包操作常用命令:
1.使用 yum 查找软件包命令:yum search2.列出所有可安装的软件包命令:yum list3.列出所有可更新的软件包命令:yum list updates4.列出所有已安装的软件包命令:yum list installed
yum 语法
yum [options] [command] [package ...]
options 可选,选项包括 -h(帮助),-y(当安装过程提示选择全部为"yes"),-q(不显示安装的过程)等等。 command 要进行的操作。 package 操作的对象。
其它的例子就不列举了,这里说一下查看yum安装了哪些软件包
查看 yum 已安装 php 的包
yum list installed phpLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* epel: mirrors.kernel.org* remi-safe: mirrors.uni-ruse.bgInstalled Packagesphp.x86_64 5.6.40-14.el7.remi
查看 yum 已安装 php 相关的包
yum list installed php*Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* epel: mirrors.kernel.org* remi-safe: mirror.team-cymru.comInstalled Packagesphp.x86_64 5.6.40-14.el7.remiphp-cli.x86_64 5.6.40-14.el7.remiphp-common.x86_64 5.6.40-14.el7.remiphp-devel.x86_64 5.6.40-14.el7.remiphp-doctrine-instantiator.noarch 1.0.5-1.el7.remiphp-fedora-autoloader.noarch 1.0.0-1.el7.remiphp-mbstring.x86_64 5.6.40-14.el7.remiphp-mcrypt.x86_64 5.6.40-14.el7.remiphp-myclabs-deep-copy.noarch 1.7.0-1.el7.remiphp-mysqlnd.x86_64 5.6.40-14.el7.remiphp-opcache.x86_64 5.6.40-14.el7.remiphp-pdo.x86_64 5.6.40-14.el7.remiphp-pear.noarch 1:1.10.10-4.el7.remiphp-pecl-jsonc.x86_64 1.3.10-2.el7.remi.5.6php-pecl-jsonc-devel.x86_64 1.3.10-2.el7.remi.5.6php-pecl-xdebug.x86_64 2.5.5-1.el7.remi.5.6php-pecl-xhprof.x86_64 0.9.4-4.el7.remi.5.6php-pecl-zip.x86_64 1.15.5-1.el7.remi.5.6php-phpdocumentor-reflection-common.noarch 1.0.1-1.el7.remiphp-phpdocumentor-reflection-docblock.noarch 3.2.2-4.el7.remiphp-phpdocumentor-type-resolver.noarch 0.4.0-5.el7.remiphp-phpspec-prophecy.noarch 1.9.0-1.el7.remiphp-phpunit-File-Iterator.noarch 1.4.5-1.el7.remiphp-phpunit-PHP-CodeCoverage.noarch 4.0.8-4.el7.remiphp-phpunit-PHP-Invoker.noarch 1.1.4-5.el7.remiphp-phpunit-PHP-Timer.noarch 1.0.9-1.el7.remiphp-phpunit-PHP-TokenStream.noarch 1:1.4.12-1.el7.remiphp-phpunit-PHPUnit.noarch 5.7.27-6.el7.remiphp-phpunit-PHPUnit-MockObject.noarch 3.4.4-5.el7.remiphp-phpunit-Text-Template.noarch 1.2.1-1.el7.remiphp-phpunit-Version.noarch 2.0.1-1.el7.remiphp-phpunit-comparator.noarch 1.2.4-4.el7.remiphp-phpunit-diff.noarch 1.4.3-6.el7.remiphp-phpunit-environment.noarch 2.0.0-1.el7.remiphp-phpunit-exporter.noarch 2.0.0-4.el7.remiphp-process.x86_64 5.6.40-14.el7.remiphp-sebastian-code-unit-reverse-lookup.noarch 1.0.1-1.el7.remiphp-sebastian-global-state.noarch 1.1.1-1.el7.remiphp-sebastian-object-enumerator.noarch 2.0.1-2.el7.remiphp-sebastian-recursion-context.noarch 2.0.0-1.el7.remiphp-sebastian-resource-operations.noarch 1.0.0-2.el7.remiphp-soap.x86_64 5.6.40-14.el7.remiphp-symfony-class-loader.noarch 2.8.52-2.el7.remiphp-symfony-common.noarch 2.8.52-2.el7.remiphp-symfony-yaml.noarch 2.8.52-2.el7.remiphp-webmozart-assert.noarch 1.4.0-1.el7.remiphp-xml.x86_64 5.6.40-14.el7.remi
以上是"linux中如何使用yum命令查看已安装的软件包"这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!
软件
软件包
命令
内容
篇文章
帮助
过程
学习
管理
繁琐
例子
依赖性
前端
对象
常用
易懂
更多
条理
知识
编带
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
广东猪兼强互联网科技有限公司
科技互联网项目
互联网科技有限公司经营范围
科技互联网政务服务
上海互联网科技有限公司
互联网金融 科技金融
亿策互联网科技
南京欣网互联网科技
上海喔噻互联网科技
赫美联合互联网科技
掌上梦互联网科技
互联网科技大会
互联网科技创新服务
哈尔滨屹滨互联网科技有限公司
智帮互联网科技公司最近动向
互联网科技资金流入
互联网领先科技宣传片
互联网金融运营模式中的金融科技
陕西彩京云互联网科技有限公司
恒生互联网科技趋势
江苏根荣互联网科技
金融科技 互联网金融
奇酷互联网络科技
睿民互联网科技
广西拼得多互联网科技有限公司
互联网科技商业
无锡工业互联网科技有限公司
互联网公司属于科技吗
科技互联网专业工作会议发言稿
互联网科技企业文化