您的位置:首页 > 其它

老男孩教育每日一题第117天:yum安装软件的时候,记不全包名,如何查找到完整的包名?

2017-08-27 00:10 651 查看
答案:

方法一:yum search bash

[root@oldboy ~]# yum search bashLoaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
===================================== N/S Matched: bash ======================================
bash-argsparse.noarch : An high level argument parsing library for bash
bash-completion.noarch : Programmable completion for Bash
bash-doc.x86_64 : Documentation files for bash
easybashgui.noarch : Bash function library
gromacs-bash.noarch : GROMACS bash completion
pcp-pmda-bash.x86_64 : Performance Co-Pilot (PCP) metrics for the Bash shell
bash.x86_64 : The GNU Bourne Again shell
bats.noarch : Bash Automated Testing System
bti.x86_64 : Bash Twitter Idiocy
python-argcomplete.noarch : Bash tab completion for argparse
sys_basher.x86_64 : A multithreaded hardware exerciser
.......

方法二:

[root@oldboy ~]# yum list|grep ^bash
bash.x86_64               4.1.2-33.el6         @anaconda-CentOS-201508042137.x86_64/6.7
bash-completion.noarch         1:1.3-7.el6          @epel
bash.x86_64               4.1.2-48.el6         base
bash-argsparse.noarch          1.7-1.el6          epel
bash-doc.x86_64             4.1.2-48.el6        base

备注

今天是每日一题陪伴大家的第117天期待你的进步。对于题目和答案的任何疑问,请在博客评论区留言
往期题目索引http://lidao.blog.51cto.com/3388056/1914205
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息