yum常用命令上

前端之家收集整理的这篇文章主要介绍了yum常用命令上前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_301_1@ 查询
@H_301_1@ yum list
@H_301_1@ 查询所有可用软件包列表
@H_301_1@ yum search 关键字
@H_301_1@ 搜索服务器上所有和关键字相关的包
@H_301_1@
@H_301_1@ 二 实战
@H_301_1@ [root@localhost ~]# yum search httpd
@H_301_1@ Loaded plugins: fastestmirror,langpacks @H_301_1@ Loading mirror speeds from cached hostfile @H_301_1@ =================================================== N/S matched: httpd ==================================================== @H_301_1@ libmicrohttpd-devel.i686 : Development files for libmicrohttpd @H_301_1@ libmicrohttpd-devel.x86_64 : Development files for libmicrohttpd @H_301_1@ libmicrohttpd-doc.noarch : Documentation for libmicrohttpd @H_301_1@ httpd.x86_64 : Apache HTTP Server @H_301_1@ httpd-devel.x86_64 : Development interfaces for the Apache HTTP server @H_301_1@ httpd-manual.noarch : Documentation for the Apache HTTP server @H_301_1@ httpd-tools.x86_64 : Tools for use with the Apache HTTP Server @H_301_1@ libmicrohttpd.i686 : Lightweight library for embedding a webserver in applications @H_301_1@ libmicrohttpd.x86_64 : Lightweight library for embedding a webserver in applications @H_301_1@ mod_auth_mellon.x86_64 : A SAML 2.0 authentication module for the Apache Httpd Server @H_301_1@ mod_dav_svn.x86_64 : Apache httpd module for Subversion server @H_301_1@ @H_301_1@ Name and summary matches only,use "search all" for everything. @H_301_1@ @H_301_1@ 三 安装 @H_301_1@ yum -y install 包名 @H_301_1@ 选项: @H_301_1@ -install:安装 @H_301_1@ -y:自动回答yes @H_301_1@ yum安装只写包名。 @H_301_1@ 举例: @H_301_1@ yum -y install gcc

猜你在找的Bash相关文章