linux中如何使用yum命令查看已安装的软件包
这篇文章主要为大家展示了“linux中如何使用yum命令查看已安装的软件包”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“linux中如何使用yum命令查看已安装的软件包”这篇文章吧。
yum是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基於RPM包管理可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载、安装。
yumlistinstalled
yum针对软件包操作常用命令:
1.使用yum查找软件包命令:yumsearch2.列出所有可安装的软件包命令:yumlist3.列出所有可更新的软件包命令:yumlistupdates4.列出所有已安装的软件包命令:yumlistinstalledyum 语法
yum[options][command][package...]
其它的例子就不列举了,这里说一下查看yum安装了哪些软件包
查看 yum 已安装 php 的包yumlistinstalledphpLoadedplugins:fastestmirrorLoadingmirrorspeedsfromcachedhostfile*epel:mirrors.kernel.org*remi-safe:mirrors.uni-ruse.bgInstalledPackagesphp.x86_645.6.40-14.el7.remi查看 yum 已安装 php 相关的包
yumlistinstalledphp*Loadedplugins:fastestmirrorLoadingmirrorspeedsfromcachedhostfile*epel:mirrors.kernel.org*remi-safe:mirror.team-cymru.comInstalledPackagesphp.x86_645.6.40-14.el7.remiphp-cli.x86_645.6.40-14.el7.remiphp-common.x86_645.6.40-14.el7.remiphp-devel.x86_645.6.40-14.el7.remiphp-doctrine-instantiator.noarch1.0.5-1.el7.remiphp-fedora-autoloader.noarch1.0.0-1.el7.remiphp-mbstring.x86_645.6.40-14.el7.remiphp-mcrypt.x86_645.6.40-14.el7.remiphp-myclabs-deep-copy.noarch1.7.0-1.el7.remiphp-mysqlnd.x86_645.6.40-14.el7.remiphp-opcache.x86_645.6.40-14.el7.remiphp-pdo.x86_645.6.40-14.el7.remiphp-pear.noarch1:1.10.10-4.el7.remiphp-pecl-jsonc.x86_641.3.10-2.el7.remi.5.6php-pecl-jsonc-devel.x86_641.3.10-2.el7.remi.5.6php-pecl-xdebug.x86_642.5.5-1.el7.remi.5.6php-pecl-xhprof.x86_640.9.4-4.el7.remi.5.6php-pecl-zip.x86_641.15.5-1.el7.remi.5.6php-phpdocumentor-reflection-common.noarch1.0.1-1.el7.remiphp-phpdocumentor-reflection-docblock.noarch3.2.2-4.el7.remiphp-phpdocumentor-type-resolver.noarch0.4.0-5.el7.remiphp-phpspec-prophecy.noarch1.9.0-1.el7.remiphp-phpunit-File-Iterator.noarch1.4.5-1.el7.remiphp-phpunit-PHP-CodeCoverage.noarch4.0.8-4.el7.remiphp-phpunit-PHP-Invoker.noarch1.1.4-5.el7.remiphp-phpunit-PHP-Timer.noarch1.0.9-1.el7.remiphp-phpunit-PHP-TokenStream.noarch1:1.4.12-1.el7.remiphp-phpunit-PHPUnit.noarch5.7.27-6.el7.remiphp-phpunit-PHPUnit-MockObject.noarch3.4.4-5.el7.remiphp-phpunit-Text-Template.noarch1.2.1-1.el7.remiphp-phpunit-Version.noarch2.0.1-1.el7.remiphp-phpunit-comparator.noarch1.2.4-4.el7.remiphp-phpunit-diff.noarch1.4.3-6.el7.remiphp-phpunit-environment.noarch2.0.0-1.el7.remiphp-phpunit-exporter.noarch2.0.0-4.el7.remiphp-process.x86_645.6.40-14.el7.remiphp-sebastian-code-unit-reverse-lookup.noarch1.0.1-1.el7.remiphp-sebastian-global-state.noarch1.1.1-1.el7.remiphp-sebastian-object-enumerator.noarch2.0.1-2.el7.remiphp-sebastian-recursion-context.noarch2.0.0-1.el7.remiphp-sebastian-resource-operations.noarch1.0.0-2.el7.remiphp-soap.x86_645.6.40-14.el7.remiphp-symfony-class-loader.noarch2.8.52-2.el7.remiphp-symfony-common.noarch2.8.52-2.el7.remiphp-symfony-yaml.noarch2.8.52-2.el7.remiphp-webmozart-assert.noarch1.4.0-1.el7.remiphp-xml.x86_645.6.40-14.el7.remi
以上是“linux中如何使用yum命令查看已安装的软件包”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。